Skip to content
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

Add discriminator schema #290

Merged
merged 3 commits into from
Sep 20, 2022
Merged

Add discriminator schema #290

merged 3 commits into from
Sep 20, 2022

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Sep 19, 2022

Add discriminator schema. For now if serde tag is defined the discriminator field will be set to the tag attribute value in OneOf composite object.

fixes #287

Add discriminator schema. For now if serde `tag` is defined the
discriminator field will be set to the `tag` attribute value in OneOf
composite object.
@juhaku juhaku merged commit 64a5998 into master Sep 20, 2022
@juhaku juhaku deleted the feature-discriminator-schema branch September 20, 2022 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

Implement discriminator object for Enum types represented as oneOf composite type
1 participant