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
The swagger spec allows polymorphism using a discriminator field. I don't think swaggerize-routes has support for this at the moment, can you confirm this is the case?
For example, say I have an api parameter specified as:
Since this is once again an example of Swagger not using standard json-schema, default validation will not support it. This is one of the ongoing problems with Swagger in general.
The swagger spec allows polymorphism using a
discriminator
field. I don't think swaggerize-routes has support for this at the moment, can you confirm this is the case?For example, say I have an api parameter specified as:
and definitions specified as:
Child thing is ignored and so it's fields are disallowed by validation
The text was updated successfully, but these errors were encountered: