-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support the discriminator with anyOf #150
Labels
new feature
Adds a new functionality
Milestone
Comments
muehmar
added a commit
that referenced
this issue
Jan 7, 2024
muehmar
added a commit
that referenced
this issue
Jan 10, 2024
muehmar
added a commit
that referenced
this issue
Jan 21, 2024
muehmar
added a commit
that referenced
this issue
Jan 21, 2024
muehmar
added a commit
that referenced
this issue
Jan 22, 2024
muehmar
added a commit
that referenced
this issue
Jan 22, 2024
muehmar
added a commit
that referenced
this issue
Jan 22, 2024
muehmar
added a commit
that referenced
this issue
Jan 22, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 23, 2024
muehmar
added a commit
that referenced
this issue
Jan 30, 2024
muehmar
added a commit
that referenced
this issue
Jan 31, 2024
muehmar
added a commit
that referenced
this issue
Feb 5, 2024
muehmar
added a commit
that referenced
this issue
Feb 5, 2024
muehmar
added a commit
that referenced
this issue
Feb 5, 2024
muehmar
added a commit
that referenced
this issue
Feb 5, 2024
muehmar
added a commit
that referenced
this issue
Feb 5, 2024
muehmar
added a commit
that referenced
this issue
Feb 10, 2024
muehmar
added a commit
that referenced
this issue
Feb 12, 2024
muehmar
added a commit
that referenced
this issue
Mar 1, 2024
muehmar
added a commit
that referenced
this issue
Mar 1, 2024
muehmar
added a commit
that referenced
this issue
Mar 1, 2024
muehmar
added a commit
that referenced
this issue
Mar 6, 2024
muehmar
added a commit
that referenced
this issue
Mar 31, 2024
muehmar
added a commit
that referenced
this issue
Mar 31, 2024
muehmar
added a commit
that referenced
this issue
Apr 1, 2024
muehmar
added a commit
that referenced
this issue
Apr 1, 2024
muehmar
added a commit
that referenced
this issue
Apr 2, 2024
muehmar
added a commit
that referenced
this issue
Apr 4, 2024
muehmar
added a commit
that referenced
this issue
Apr 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even though with
anyOf
and a discriminator it might be technically possible to have more than one valid schema, the discriminator tells which schema was actually used. This should be supported as well.If a discriminator is used with anyOf, the assumption is that it is used semantically like a oneOf composition but technically anyOf is used as more than one schema might be valid at a time. Therefore, the generated code will be the same as for oneOf compositions but allows more than one schema be valid at the same time.
The text was updated successfully, but these errors were encountered: