Explicity mention that a media type object can be empty #3967
              
  
  Closed
              
          
                  
                    
                      dret
                    
                  
                
                  started this conversation in
                Enhancements
              
            Replies: 2 comments 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
                  
                
            -
| I'm going to close this since we do have multiple examples of the media type being empty. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
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