René's URL Explorer Experiment


Title: feat(v3): merge allOf members by what allOf means by mromaszewicz · Pull Request #2572 · oapi-codegen/oapi-codegen · GitHub

Open Graph Title: feat(v3): merge allOf members by what allOf means by mromaszewicz · Pull Request #2572 · oapi-codegen/oapi-codegen

X Title: feat(v3): merge allOf members by what allOf means by mromaszewicz · Pull Request #2572 · oapi-codegen/oapi-codegen

Description: Generate Go client and server boilerplate from OpenAPI 3 specifications - feat(v3): merge allOf members by what allOf means by mromaszewicz · Pull Request #2572 · oapi-codegen/oapi-codegen

Open Graph Description: Step 2 of the schema-merging-behavior: v3 work, after #2564 and #2568. It changes only v3, which is still opt-in and undocumented. v1 and v2 output doesn't change. What changes v2 merges allOf ...

X Description: Step 2 of the schema-merging-behavior: v3 work, after #2564 and #2568. It changes only v3, which is still opt-in and undocumented. v1 and v2 output doesn't change. What changes v2 merges al...

Opengraph URL: https://github.com/oapi-codegen/oapi-codegen/pull/2572

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e7f08a27-c853-8cee-0b69-e0a36f1b67d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD50:3122FF:181FFC:21EABD:6AF9C505
html-safe-nonceee9c3a004e931832ba7f0e79a498c46813aafff6bbedbae730353d37bde52cda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDUwOjMxMjJGRjoxODFGRkM6MjFFQUJEOjZBRjlDNTA1IiwidmlzaXRvcl9pZCI6IjkzNDgxNDAzNDc5NDQ5NzI4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac934a50339808dfc65c923936c48914bb127783584f3882bfd8590741504067b6
hovercard-subject-tagpull_request:4630672534
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/oapi-codegen/oapi-codegen/2572/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0a3d2a08bd8c845317fffba987146ae2c42315aea6089f05bf55b449d417b1e0/oapi-codegen/oapi-codegen/pull/2572
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a3d2a08bd8c845317fffba987146ae2c42315aea6089f05bf55b449d417b1e0/oapi-codegen/oapi-codegen/pull/2572
og:image:altStep 2 of the schema-merging-behavior: v3 work, after #2564 and #2568. It changes only v3, which is still opt-in and undocumented. v1 and v2 output doesn't change. What changes v2 merges allOf ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemromaszewicz
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/oapi-codegen/oapi-codegen git https://github.com/oapi-codegen/oapi-codegen.git
octolytics-dimension-user_id142752710
octolytics-dimension-user_loginoapi-codegen
octolytics-dimension-repository_id173009358
octolytics-dimension-repository_nwooapi-codegen/oapi-codegen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id173009358
octolytics-dimension-repository_network_root_nwooapi-codegen/oapi-codegen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/oapi-codegen/oapi-codegen/pull/2572#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2572
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2572
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=oapi-codegen%2Foapi-codegen
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/2572
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/2572
Reloadhttps://github.com/oapi-codegen/oapi-codegen/pull/2572
oapi-codegenhttps://github.com/oapi-codegen
oapi-codegenhttps://github.com/oapi-codegen/oapi-codegen
Codehttps://github.com/oapi-codegen/oapi-codegen
Issues228 (228)https://github.com/oapi-codegen/oapi-codegen/issues
Pull requests70 (70)https://github.com/oapi-codegen/oapi-codegen/pulls
Discussionshttps://github.com/oapi-codegen/oapi-codegen/discussions
Actionshttps://github.com/oapi-codegen/oapi-codegen/actions
Projectshttps://github.com/oapi-codegen/oapi-codegen/projects
Security and quality11 (11)https://github.com/oapi-codegen/oapi-codegen/security
Insightshttps://github.com/oapi-codegen/oapi-codegen/pulse
https://github.com/oapi-codegen/oapi-codegen
mromaszewiczhttps://github.com/mromaszewicz
oapi-codegen:mainhttps://github.com/oapi-codegen/oapi-codegen/tree/main
mromaszewicz:aggregates/v3-projection-mergehttps://github.com/mromaszewicz/oapi-codegen/tree/aggregates/v3-projection-merge
Conversationhttps://github.com/oapi-codegen/oapi-codegen/pull/2572
Commits5 (5)https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits
Checkshttps://github.com/oapi-codegen/oapi-codegen/pull/2572/checks
Files changedhttps://github.com/oapi-codegen/oapi-codegen/pull/2572/files
feat(v3): merge allOf members by what allOf meanshttps://github.com/oapi-codegen/oapi-codegen/pull/2572#top
mromaszewiczhttps://github.com/mromaszewicz
oapi-codegen:mainhttps://github.com/oapi-codegen/oapi-codegen/tree/main
mromaszewicz:aggregates/v3-projection-mergehttps://github.com/mromaszewicz/oapi-codegen/tree/aggregates/v3-projection-merge
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
Sep 24, 2026https://github.com/oapi-codegen/oapi-codegen/pull/2572#issue-5574080321
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
#2564https://github.com/oapi-codegen/oapi-codegen/pull/2564
#2568https://github.com/oapi-codegen/oapi-codegen/pull/2568
#2107https://github.com/oapi-codegen/oapi-codegen/issues/2107
#2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
#2107https://github.com/oapi-codegen/oapi-codegen/issues/2107
#1633https://github.com/oapi-codegen/oapi-codegen/issues/1633
#2542https://github.com/oapi-codegen/oapi-codegen/issues/2542
fix: keep the properties an allOf member declares next to its own allOf #2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
fix: keep the properties an allOf member declares next to its own allOf #2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
#1633https://github.com/oapi-codegen/oapi-codegen/issues/1633
#2107https://github.com/oapi-codegen/oapi-codegen/issues/2107
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
code ownerhttps://github.com/oapi-codegen/oapi-codegen/blob/a1f70777dbf2366ceaf943398a6708ac0ccbf42f/.github/CODEOWNERS#L1
September 24, 2026 20:20https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31788010124
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
notable changes https://github.com/oapi-codegen/oapi-codegen/issues?q=state%3Aopen%20label%3A%22notable%20changes%22
enhancement https://github.com/oapi-codegen/oapi-codegen/issues?q=state%3Aopen%20label%3Aenhancement
Sep 24, 2026https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31788027061
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Sep 24, 2026https://github.com/oapi-codegen/oapi-codegen/pull/2572#issuecomment-5821697610
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
https://app.greptile.com/api/retrigger?id=68947849
"test(v3): cover a nested member's own pr..."https://github.com/oapi-codegen/oapi-codegen/commit/f8781ee385a4aea363017fe41db074e924d1befe
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
Sep 24, 2026 https://github.com/oapi-codegen/oapi-codegen/pull/2572#pullrequestreview-5309833361
View reviewed changes https://github.com/oapi-codegen/oapi-codegen/pull/2572/files
pkg/codegen/merge_schemas_v3.gohttps://github.com/oapi-codegen/oapi-codegen/pull/2572/files#diff-05a796cceba82b03b3ffa63477adb49ffdc9cf71e4e6c67beb291fb4cf8be3c5
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
pkg/codegen/merge_schemas_v3.gohttps://github.com/oapi-codegen/oapi-codegen/pull/2572/files#diff-05a796cceba82b03b3ffa63477adb49ffdc9cf71e4e6c67beb291fb4cf8be3c5
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
mromaszewiczhttps://github.com/mromaszewicz
September 24, 2026 13:37https://github.com/oapi-codegen/oapi-codegen/pull/2572#commits-pushed-d2b4bf3
https://github.com/mromaszewicz
https://github.com/claude
feat(v3): merge allOf keywords by their meaning, and name conflictshttps://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/d2b4bf30e91d5cee90d84922dd281413fb51cc6c
d2b4bf3https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/d2b4bf30e91d5cee90d84922dd281413fb51cc6c
oapi-codegen#1633https://github.com/oapi-codegen/oapi-codegen/issues/1633
oapi-codegen#2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
oapi-codegen#2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
oapi-codegen#1633https://github.com/oapi-codegen/oapi-codegen/issues/1633
https://github.com/mromaszewicz
https://github.com/claude
feat(v3): merge a property that several allOf members declarehttps://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/2d73a27cc471eafd46bf91beb12b311c459b4a20
2d73a27https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/2d73a27cc471eafd46bf91beb12b311c459b4a20
oapi-codegen#2107https://github.com/oapi-codegen/oapi-codegen/issues/2107
oapi-codegen#2542https://github.com/oapi-codegen/oapi-codegen/issues/2542
oapi-codegen#2107https://github.com/oapi-codegen/oapi-codegen/issues/2107
https://github.com/mromaszewicz
https://github.com/claude
feat(v3): let a composition merge its enums into their unionhttps://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/35fbee973e80f1e6694a29b059ea5547d4148e7a
35fbee9https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/35fbee973e80f1e6694a29b059ea5547d4148e7a
https://github.com/mromaszewicz
https://github.com/claude
fix(v3): keep a repeated $ref's extensions, and read [integer, number…https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/887d6785ec9fe03ffdfe67f22474d181f1532b60
887d678https://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/887d6785ec9fe03ffdfe67f22474d181f1532b60
https://github.com/mromaszewicz
https://github.com/claude
test(v3): cover a nested member's own properties where v2 keeps a maphttps://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/f8781ee385a4aea363017fe41db074e924d1befe
f8781eehttps://github.com/oapi-codegen/oapi-codegen/pull/2572/commits/f8781ee385a4aea363017fe41db074e924d1befe
oapi-codegen#2571https://github.com/oapi-codegen/oapi-codegen/pull/2571
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
force-pushedhttps://github.com/oapi-codegen/oapi-codegen/compare/40d8e40f77a314f0c1521a88e1569b3f60b39f93..f8781ee385a4aea363017fe41db074e924d1befe
40d8e40https://github.com/oapi-codegen/oapi-codegen/commit/40d8e40f77a314f0c1521a88e1569b3f60b39f93
f8781eehttps://github.com/oapi-codegen/oapi-codegen/commit/f8781ee385a4aea363017fe41db074e924d1befe
Compare https://github.com/oapi-codegen/oapi-codegen/compare/40d8e40f77a314f0c1521a88e1569b3f60b39f93..f8781ee385a4aea363017fe41db074e924d1befe
September 24, 2026 20:39https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31789128579
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
Sep 24, 2026https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31789172665
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
96133d3https://github.com/oapi-codegen/oapi-codegen/commit/96133d325ca25870309de635f65e929ff990d40f
Sep 24, 2026https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31790421944
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
feat(v3): an allOf that only annotates a $ref is that $ref's type #2574 https://github.com/oapi-codegen/oapi-codegen/pull/2574
feat(v3): a oneOf or anyOf that only adds constraints makes no union #2576 https://github.com/oapi-codegen/oapi-codegen/pull/2576
https://github.com/mromaszewicz
mromaszewiczhttps://github.com/mromaszewicz
September 26, 2026 00:46https://github.com/oapi-codegen/oapi-codegen/pull/2572#event-31873328786
feat: make enum union/intersection generation more configurable #1633 https://github.com/oapi-codegen/oapi-codegen/issues/1633
Merge properties when combining schemas with allOf #2107 https://github.com/oapi-codegen/oapi-codegen/issues/2107
https://github.co/hiddenchars
https://github.com/oapi-codegen/oapi-codegen/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2572
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/oapi-codegen/oapi-codegen/pull/2572/files/66085c1db31fc3498840342527a3498dc513c90a
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
enhancement https://github.com/oapi-codegen/oapi-codegen/issues?q=state%3Aopen%20label%3Aenhancement
notable changes https://github.com/oapi-codegen/oapi-codegen/issues?q=state%3Aopen%20label%3A%22notable%20changes%22
Merge properties when combining schemas with allOf https://github.com/oapi-codegen/oapi-codegen/issues/2107
feat: make enum union/intersection generation more configurable https://github.com/oapi-codegen/oapi-codegen/issues/1633
Please reload this pagehttps://github.com/oapi-codegen/oapi-codegen/pull/2572
https://github.com/mromaszewicz
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.