struct Swagger::Response
- Swagger::Response
 - Struct
 - Value
 - Object
 
Defined in:
swagger/response.crConstructors
- .new(code : String, description : String, reference name : String, content_type : String | Nil = nil)
 - .new(code : String, description : String, schema : Schema, content_type : String | Nil = nil)
 - .new(code : String, description : String, media_type : MediaType | Nil = nil, content_type : String | Nil = nil)
 
Instance Method Summary
- #code : String
 - #code=(code : String)
 - #content
 - #content_type : String
 - #content_type=(content_type : String)
 - #description : String
 - #description=(description : String)
 - #media_type : Swagger::Objects::MediaType?
 - #media_type=(media_type : Swagger::Objects::MediaType | Nil)
 
Constructor Detail
        
        def self.new(code : String, description : String, reference name : String, content_type : String | Nil = nil)
        #
      
      
      
        
        def self.new(code : String, description : String, schema : Schema, content_type : String | Nil = nil)
        #
      
      
      
        
        def self.new(code : String, description : String, media_type : MediaType | Nil = nil, content_type : String | Nil = nil)
        #