You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spacether
changed the title
Discriminator omitted when used in composed schema
Discriminator omitted when used in root level of composed schema
Dec 8, 2019
When using a discriminator in a composed schema model, the discriminator is omitted when the schema is parsed.
Given the following spec:
For Animal we see the discriminator in the schema:
But for ParentPet we do not see the discriminator set, even though it is included in our schema:
For composed schemas please include a discriminator if it is included in the schema.
The text was updated successfully, but these errors were encountered: