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
It would be nice if OpenAPI could automatically determine the oneOf field (and possibly even the discriminator, though that would be harder) since it can be easily determined for sealed classes.
Implementation ideas
Jackson already implements this as can be seen in the example, so it could serve as a reference.
The text was updated successfully, but these errors were encountered:
Description
In Kotlin, imagine we have a class like this:
It would be nice if OpenAPI could automatically determine the
oneOf
field (and possibly even the discriminator, though that would be harder) since it can be easily determined for sealed classes.Implementation ideas
Jackson already implements this as can be seen in the example, so it could serve as a reference.
The text was updated successfully, but these errors were encountered: