-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[CORE] Fixes composed schema discriminator map #4906
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
Merged
wing328
merged 18 commits into
OpenAPITools:master
from
spacether:issue_4904_fix_composed_schema_discriminator_map
Apr 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a7a5cca
Adds addComposedMappedModels and testComposedSchemaOneOfDiscriminatorMap
spacether cb6c4bd
Requires that discriminators be required properties
spacether 53ba1fa
Strengthens discriminaotr validation, adds better error messages, add…
spacether 23c5c38
Adds oneOf and anyOf invalidDiscriminator tests
spacether e3b6522
Updates incorrect addOneOfInterfaceModel invocation
spacether 7b85b2d
Runs ensure-up-to-date
spacether 53ab46b
Adds updates from Sebastien Rosset
spacether 7242b94
Removes newlines
spacether ddefbea
Uses df.isString
spacether 831c99a
Fixes tests be correctly setting df.isString
spacether 6ab57c8
Updates discriminatorExplicitMappingVerbose description per PR feedback
spacether 607f638
Adds description of how mappedModels is populated
spacether bc23d3e
Adds the suggestion exception raising when a MappedModel mappingName …
spacether 052bccc
Actually resolves merge conflicts
spacether 89c8025
Switches two methods to package private because they are needed for t…
spacether 936c0b1
Allow nulls in MappedModel.getMappingName
spacether 5b2563f
Updates CLI flag name to legacyDiscriminatorBehavior, default=true
spacether f8c95d8
Merge branch 'master' into issue_4904_fix_composed_schema_discriminat…
wing328 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
Adds updates from Sebastien Rosset
- Loading branch information
commit 53ab46b6f11a11c39b6dbac7f87ffeb6ef333f93
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
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.
Uh oh!
There was an error while loading. Please reload this page.