class Open::Api::Response

Included Modules

Defined in:

open-api/response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(description : Nil | String, content : Nil | Hash(String, Open::Api::MediaType)) #

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

[View source]
def self.new(description : Nil | String) #

[View source]

Instance Method Detail

def content : Hash(String, Open::Api::MediaType) | Nil #

[View source]
def content=(content : Hash(String, Open::Api::MediaType) | Nil) #

[View source]
def description : String | Nil #

[View source]
def description=(description : String | Nil) #

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

[View source]
def headers=(headers : Hash(String, Open::Api::Header)) #

[View source]