struct

Swagger::Response

Inherits Struct < Value < Object

Constructors

new(code : String, description : String, reference name : String, content_type : String | Nil = nil)
Source
new(code : String, description : String, media_type : Objects::MediaType | Nil = nil, content_type : String | Nil = nil)
Source
new(code : String, description : String, schema : Schema, content_type : String | Nil = nil)
Source

Instance methods

code
Source
code=(code : String)
Source
content
Source
content_type
Source
content_type=(content_type : String)
Source
description
Source
description=(description : String)
Source
media_type
Source
media_type=(media_type : Swagger::Objects::MediaType | Nil)
Source