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
If the discriminator is in the same location as oneOf, and the oneOf references a component that has an allOf, then the system complains that the component is does not contain the required property, as it doesn't directly have it, but gains it indirectly via inheritance.
I took a quick look at writing a test case for this:
based on the discriminatedOneOf test, but wasn't able to get a working solution in the actual code.
Also a question: is the discriminatedOneOf models.kt output correct? It seems like the public object StateA: State is just an interface and doesn't contain the Status enum anywhere.
The text was updated successfully, but these errors were encountered:
If the
discriminator
is in the same location asoneOf
, and the oneOf references a component that has anallOf
, then the system complains that the component is does not contain the required property, as it doesn't directly have it, but gains it indirectly via inheritance.I took a quick look at writing a test case for this:
based on the
discriminatedOneOf
test, but wasn't able to get a working solution in the actual code.Also a question: is the
discriminatedOneOf
models.kt output correct? It seems like thepublic object StateA: State
is just an interface and doesn't contain the Status enum anywhere.The text was updated successfully, but these errors were encountered: