René's URL Explorer Experiment


Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client · GitHub

Open Graph Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client

X Title: add discriminator property support by eli-bl · Pull Request #1154 · openapi-generators/openapi-python-client

Description: Generate modern Python clients from OpenAPI. Contribute to openapi-generators/openapi-python-client development by creating an account on GitHub.

Open Graph Description: This more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...

X Description: This more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...

Opengraph URL: https://github.com/openapi-generators/openapi-python-client/pull/1154

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:40901319-e389-da20-756a-cc2426bcc7e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA72:2E8AE:7756A:97DF0:6980E569
html-safe-nonce10b1942eb0148337f5d97daeca1d14f1ff5c0d06a6f80f6caf94af23a584cc13
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTcyOjJFOEFFOjc3NTZBOjk3REYwOjY5ODBFNTY5IiwidmlzaXRvcl9pZCI6IjY2MzIzNzM3NzY4Mjg5MTcwOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac12f4bbff484056f9edc7fe914e03d24db417a0878e01306ec241049c0e05f000
hovercard-subject-tagpull_request:2149913527
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/openapi-generators/openapi-python-client/pull/1154/commits
twitter:imagehttps://opengraph.githubassets.com/7ed98f9f1913f57c336a39187933ecf3e9c9564189afbb864138b7f90106385f/openapi-generators/openapi-python-client/pull/1154
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ed98f9f1913f57c336a39187933ecf3e9c9564189afbb864138b7f90106385f/openapi-generators/openapi-python-client/pull/1154
og:image:altThis more fully fixes #219, and supersedes #717. Any valid discriminator definition as described in OpenAPI 3.1.0 should work correctly with these changes, including: Discriminators with a mapping...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeli-bl
hostnamegithub.com
expected-hostnamegithub.com
Noneaaf8d4a8e86300179375c44c83488bc74585c21f81b72377699d5e6c4b00d1b1
turbo-cache-controlno-cache
go-importgithub.com/openapi-generators/openapi-python-client git https://github.com/openapi-generators/openapi-python-client.git
octolytics-dimension-user_id84925606
octolytics-dimension-user_loginopenapi-generators
octolytics-dimension-repository_id240776275
octolytics-dimension-repository_nwoopenapi-generators/openapi-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id240776275
octolytics-dimension-repository_network_root_nwoopenapi-generators/openapi-python-client
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
release0b50c4d33bc796ea7d05dba2f7cf29956c2e8265
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1154%2Fcommits
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%2Fopenapi-generators%2Fopenapi-python-client%2Fpull%2F1154%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=openapi-generators%2Fopenapi-python-client
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
Reloadhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
openapi-generators https://patch-diff.githubusercontent.com/openapi-generators
openapi-python-clienthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Please reload this pagehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Fork 264 https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Star 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fopenapi-generators%2Fopenapi-python-client
Code https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Issues 77 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/issues
Pull requests 14 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulls
Discussions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/discussions
Actions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/actions
Security 2 https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulse
Code https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client
Issues https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/issues
Pull requests https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulls
Discussions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/discussions
Actions https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/actions
Security https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/security
Insights https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pulse
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
openapi-generators:mainhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/main
benchling:discriminatorshttps://patch-diff.githubusercontent.com/benchling/openapi-python-client/tree/discriminators
Conversationhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154
Commits9 (9)https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits
Checkshttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/checks
Files changedhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/changes
add discriminator property supporthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits#top
eli-blhttps://patch-diff.githubusercontent.com/eli-bl
openapi-generators:mainhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/main
benchling:discriminatorshttps://patch-diff.githubusercontent.com/benchling/openapi-python-client/tree/discriminators
add discriminator property supporthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0496ff886af2a73718b2ceb250e49078905fc666
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
0496ff8https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0496ff886af2a73718b2ceb250e49078905fc666
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/0496ff886af2a73718b2ceb250e49078905fc666
simply the discriminator logic a bithttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/b75adda0bcf64009120f8b6eedeaf55bf95a5fde
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
b75addahttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/b75adda0bcf64009120f8b6eedeaf55bf95a5fde
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/b75adda0bcf64009120f8b6eedeaf55bf95a5fde
remove new category of tests for nowhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/29414518643acfaa72d97e21a17b64224cb0ef24
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
2941451https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/29414518643acfaa72d97e21a17b64224cb0ef24
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/29414518643acfaa72d97e21a17b64224cb0ef24
linthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/d189f771180f189555e7109aee24da871d548724
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
d189f77https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/d189f771180f189555e7109aee24da871d548724
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/d189f771180f189555e7109aee24da871d548724
linthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/de1ddf33667318aad595227492109fed6436bb70
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
de1ddf3https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/de1ddf33667318aad595227492109fed6436bb70
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/de1ddf33667318aad595227492109fed6436bb70
handle a case where there's multiple values mapped to same typehttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/9071de05a4158ff397f74ac829ba3eb9f11daf62
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
9071de0https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/9071de05a4158ff397f74ac829ba3eb9f11daf62
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/9071de05a4158ff397f74ac829ba3eb9f11daf62
documentationhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0a8b3f74d99f32ece166dde1051770acdac78835
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
0a8b3f7https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/0a8b3f74d99f32ece166dde1051770acdac78835
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/0a8b3f74d99f32ece166dde1051770acdac78835
Merge branch 'upstream-main' into discriminatorshttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/f2e84aa47692da7a9cd461a01fa121deb4a49849
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
f2e84aahttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/f2e84aa47692da7a9cd461a01fa121deb4a49849
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/f2e84aa47692da7a9cd461a01fa121deb4a49849
linthttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/8197b1486dcaa3e92ee25459598e7f14b0cb32a3
https://patch-diff.githubusercontent.com/eli-bl
eli-blhttps://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/commits?author=eli-bl
8197b14https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/pull/1154/commits/8197b1486dcaa3e92ee25459598e7f14b0cb32a3
https://patch-diff.githubusercontent.com/openapi-generators/openapi-python-client/tree/8197b1486dcaa3e92ee25459598e7f14b0cb32a3
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.