-
-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
In the OpenAPI spec, it is possible to describe a single route which accepts request bodies of different content types: Specification Swagger docs
Is this supported in openAPI backend?
In my project, I have an endpoint which accepts both application/json
and multipart/form-data
requests.
Either work if only the respective content type is specified in my openAPI schema, but if both are specified in the doc then only application/json
requests succeed.
Metadata
Metadata
Assignees
Labels
No labels