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
OpenAPI supports the OneOfkeyword to allow the combining of schemas. This could be used to allow an endpoint to validate data against one of the specified schemas -- an example from the link is copied below:
It appears that OneOf support was added in #18, but I haven't been able to get multiple input schemas to work with Marshmallow -- although I could be missing something.
As initially mentioned in #48 (comment), it would be great if something like this were possible
The text was updated successfully, but these errors were encountered:
OpenAPI supports the
OneOf
keyword to allow the combining of schemas. This could be used to allow an endpoint to validate data against one of the specified schemas -- an example from the link is copied below:It appears that
OneOf
support was added in #18, but I haven't been able to get multiple input schemas to work with Marshmallow -- although I could be missing something.As initially mentioned in #48 (comment), it would be great if something like this were possible
The text was updated successfully, but these errors were encountered: