René's URL Explorer Experiment


Title: fix codegen for same type used with multiple discriminators by vikstrous · Pull Request #2108 · oapi-codegen/oapi-codegen · GitHub

Open Graph Title: fix codegen for same type used with multiple discriminators by vikstrous · Pull Request #2108 · oapi-codegen/oapi-codegen

X Title: fix codegen for same type used with multiple discriminators by vikstrous · Pull Request #2108 · oapi-codegen/oapi-codegen

Description: Fix Missing Discriminator Mappings When Multiple Values Map to Same Schema Problem When an OpenAPI spec has multiple discriminator values that map to the same schema type, the code generator would ...

Open Graph Description: Fix Missing Discriminator Mappings When Multiple Values Map to Same Schema Problem When an OpenAPI spec has multiple discriminator values that map to the same schema type, the code generator would ...

X Description: Fix Missing Discriminator Mappings When Multiple Values Map to Same Schema Problem When an OpenAPI spec has multiple discriminator values that map to the same schema type, the code generator would ...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:ac64128a-c472-8a07-5ff5-75234e891efc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD656:29F7DA:63FE0D:85C4C1:696BA5FE
html-safe-nonce0797c9ed07f07250584e2f7c02f300034e080191bcd0957cc460ca3d8c23bee3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjU2OjI5RjdEQTo2M0ZFMEQ6ODVDNEMxOjY5NkJBNUZFIiwidmlzaXRvcl9pZCI6IjgxNzY1MDczNjgzNDI1Mjk1MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf797f176d1d5a78ffeb4d6f2bf2c08fd72f8a37e7fa3e905e487e09dea79fe32
hovercard-subject-tagpull_request:2930661442
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/2108/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d913b91f85d09e5f0f9f2d35fe103091fb8740a81ea7baaf4e11029cb5dbf019/oapi-codegen/oapi-codegen/pull/2108
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d913b91f85d09e5f0f9f2d35fe103091fb8740a81ea7baaf4e11029cb5dbf019/oapi-codegen/oapi-codegen/pull/2108
og:image:altFix Missing Discriminator Mappings When Multiple Values Map to Same Schema Problem When an OpenAPI spec has multiple discriminator values that map to the same schema type, the code generator would ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevikstrous
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2108
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2108
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Reloadhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Reloadhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
oapi-codegen https://patch-diff.githubusercontent.com/oapi-codegen
oapi-codegenhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Fork 1k https://patch-diff.githubusercontent.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Star 8k https://patch-diff.githubusercontent.com/login?return_to=%2Foapi-codegen%2Foapi-codegen
Code https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen
Issues 557 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/issues
Pull requests 202 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pulls
Discussions https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/discussions
Actions https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/actions
Projects 1 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/security
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Insights https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pulse
Code https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen
Issues https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/issues
Pull requests https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pulls
Discussions https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/discussions
Actions https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/actions
Projects https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/projects
Security https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/security
Insights https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Foapi-codegen%2Foapi-codegen%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Foapi-codegen%2Foapi-codegen%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#issue-comment-box
vikstroushttps://patch-diff.githubusercontent.com/vikstrous
oapi-codegen:mainhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/tree/main
vikstrous:fix-discriminator-ambiguityhttps://patch-diff.githubusercontent.com/vikstrous/oapi-codegen/tree/fix-discriminator-ambiguity
fix codegen for same type used with multiple discriminators https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#top
vikstroushttps://patch-diff.githubusercontent.com/vikstrous
oapi-codegen:mainhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/tree/main
vikstrous:fix-discriminator-ambiguityhttps://patch-diff.githubusercontent.com/vikstrous/oapi-codegen/tree/fix-discriminator-ambiguity
Conversation 2 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Commits 1 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108/commits
Checks 3 https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108/checks
Files changed https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108/files
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/vikstrous
vikstroushttps://patch-diff.githubusercontent.com/vikstrous
Oct 20, 2025https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#issue-3533364953
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
https://patch-diff.githubusercontent.com/vikstrous
fix codegen for same type used with multiple discriminatorshttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108/commits/0bf12629739b844550a3b27e7946c8349f8126ea
0bf1262https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108/commits/0bf12629739b844550a3b27e7946c8349f8126ea
https://patch-diff.githubusercontent.com/vikstrous
vikstroushttps://patch-diff.githubusercontent.com/vikstrous
code ownerhttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/blob/0d94f2f2015e5fec2cd66273eeb8eff7d1f86bc1/.github/CODEOWNERS#L1
October 20, 2025 17:51https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#event-20385758283
https://patch-diff.githubusercontent.com/tobio
tobiohttps://patch-diff.githubusercontent.com/tobio
Oct 20, 2025https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#issuecomment-3423952198
#2071https://github.com/oapi-codegen/oapi-codegen/pull/2071
@jamietannahttps://github.com/jamietanna
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
https://patch-diff.githubusercontent.com/vikstrous
vikstroushttps://patch-diff.githubusercontent.com/vikstrous
Oct 21, 2025https://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108#issuecomment-3424200172
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Foapi-codegen%2Foapi-codegen%2Fpull%2F2108
Please reload this pagehttps://patch-diff.githubusercontent.com/oapi-codegen/oapi-codegen/pull/2108
https://patch-diff.githubusercontent.com/vikstrous
https://patch-diff.githubusercontent.com/tobio
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.