class Swagger::Response

Included Modules

Defined in:

swagger/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def description : String #

def description=(description : String) #

[View source]
def description? : String | Nil #

def headers : Hash(String, Header) #

def headers=(headers : Hash(String, Header)) #

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

def schema : Schema #

def schema=(schema : Schema) #

[View source]
def schema? : Schema | Nil #