Explicity mention that a media type object can be empty #3967
dret
started this conversation in
Enhancements
Replies: 1 comment 1 reply
-
Oh, for some context: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be helpful to explicitly mention that it is permissible to have an empty media type object? We could even add an example with an API responding with an image where the media type itself is enough to specify the response type.
Beta Was this translation helpful? Give feedback.
All reactions