struct Swagger::Objects::Response

Overview

Response Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#responsesObject

Included Modules

Defined in:

swagger/objects/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(description : String, headers : Hash(String, Header)? = nil, content : Hash(String, MediaType)? = nil, links : Array(Link)? = nil, ref : String? = nil) #

[View source]

Instance Method Detail

def content : Hash(String, MediaType)? #

[View source]
def description : String #

[View source]
def headers : Hash(String, Header)? #

[View source]
def links : Array(Link)? #

[View source]
def ref : String? #

[View source]