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
{{ message }}
Repository navigation
Support for request body with arbitrary Content-Type (OpenAPI.Next) #882
When attempting to describe a PUT request with arbitrary request body and Content-Type (think about a file upload server where you can choose the Content-Type), a "default" catch-all Content-Type needs to be added to content object.
I understand that request with arbitrary body and Content-Type cannot be specified in OpenAPI 2.0 (file type has restrictions on Content-Type).
Activity
webron commentedon Feb 7, 2017
This has been resolved in #878.
lucafavatella commentedon Feb 8, 2017
I see an example of request body in https://github.com/OAI/OpenAPI-Specification/blob/17a389a2e3150c3b10a105e461b73666b2e560e0/versions/3.0.md#requestBodyObject has a
"*"section that looks what I wanted. Thanks.webron commentedon Feb 8, 2017
The example should actually be
*/*but, the idea is the same.