-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Clarify discriminator non-impact on validation #3907
Conversation
Be very explicit that discriminator MUST NOT change the validation outcome, and explain the implication for the "allOf" use case.
Would you consider changing Schema Object # Properties to go from
to
Or something along those lines...? |
@jam01 although I probably won't go into that level of detail- more likely I will link to the JSON Schema documentation for |
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.
Looks good. 👍
discriminator
-specific aspects)Be very explicit that discriminator MUST NOT change the validation outcome, and explain the implication for the "allOf" use case.