-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
fix(core) discriminatorType in oneOf interfaces #24812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jpfinne
wants to merge
46
commits into
OpenAPITools:master
Choose a base branch
from
jpfinne:bugfix/issue_24769
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+625
−3
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
59c67f2
Merge pull request #4 from OpenAPITools/master
jpfinne 784da69
Merge branch 'OpenAPITools:master' into master
jpfinne 9ee6075
Merge branch 'OpenAPITools:master' into master
jpfinne 91ce7ba
Merge branch 'OpenAPITools:master' into master
jpfinne 0808d0e
Merge branch 'OpenAPITools:master' into master
jpfinne 46d9c9c
Merge branch 'OpenAPITools:master' into master
jpfinne 7b6cf90
Merge branch 'OpenAPITools:master' into master
jpfinne b50a337
Merge branch 'OpenAPITools:master' into master
jpfinne ae1bff7
Merge branch 'OpenAPITools:master' into master
jpfinne 5229d8d
Merge branch 'OpenAPITools:master' into master
jpfinne cdc74eb
Merge branch 'OpenAPITools:master' into master
jpfinne df30bd2
Merge branch 'OpenAPITools:master' into master
jpfinne 246b21d
Merge branch 'OpenAPITools:master' into master
jpfinne 8e39563
Merge branch 'OpenAPITools:master' into master
jpfinne deec130
Merge branch 'OpenAPITools:master' into master
jpfinne da9270c
Merge branch 'OpenAPITools:master' into master
jpfinne 7e4ce22
Merge branch 'OpenAPITools:master' into master
jpfinne 4f55095
Merge branch 'OpenAPITools:master' into master
jpfinne a614eb2
Merge branch 'OpenAPITools:master' into master
jpfinne e8f0a38
Merge branch 'OpenAPITools:master' into master
jpfinne 8199a48
Merge branch 'OpenAPITools:master' into master
jpfinne 4757c1f
Merge branch 'OpenAPITools:master' into master
jpfinne 9e1e82b
Merge branch 'OpenAPITools:master' into master
jpfinne f89dba7
Merge branch 'OpenAPITools:master' into master
jpfinne 79f698b
issue_24769 sample
jpfinne e0e2b81
Fix #24769: improve common discriminator getter
jpfinne 460bbd7
Fix #24769: common string schema with no format
jpfinne b87497e
workaround for some misconfigured unit tests
jpfinne 76578db
Fallback to default behaviour for Kotlin
jpfinne 9295e12
Fallback to default behaviour for Kotlin
jpfinne 0e5839f
Fallback to string if not type
jpfinne 97fcea6
Hanling of $ref to find discriminatorType
jpfinne e5c34f7
cleanup
jpfinne 4a596b6
Remove not supported by JavaFileAssert test on sealed interface
jpfinne 1327168
Update modules/openapi-generator/src/main/java/org/openapitools/codeg…
jpfinne 45c00b4
Update modules/openapi-generator/src/main/java/org/openapitools/codeg…
jpfinne faaf92f
Update modules/openapi-generator/src/main/java/org/openapitools/codeg…
jpfinne 9d5de48
Minor cleanup after code review
jpfinne 9b2bf73
Some variation of #19194
jpfinne 55a3b06
Fix typo
jpfinne c17db5d
More tests
jpfinne 27842a2
Fix string not mapped
jpfinne 9a28494
Use getPrimitiveType()
jpfinne 97909e8
Enum improvement
jpfinne 74593ab
Test more cases
jpfinne 247125e
Avoid NPE
jpfinne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: For an allOf property represented as
[$ref, {description: ...}], the description-only member satisfiesisAnyTypeand overwritesfound.countthen stays zero, sosimplifyPropertyreturns null instead of the referenced type; only typed/ref members should populatefound.Prompt for AI agents