Swagger::Objects::Response
Inherits JSON::Serializable < Struct < Value < Object
Response Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#responsesObject
Constructors
new(pull : JSON::PullParser)
Sourcenew(description : String, headers : Hash(String, Header) | Nil = nil, content : Hash(String, MediaType) | Nil = nil, links : Array(Link) | Nil = nil, ref : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
Sourcedescription
Sourceheaders
Sourcelinks
Sourceref
Source