struct OpenAPI::Header

Included Modules

Defined in:

open_api/header.cr

Constructors

Instance Method Summary

Constructor methods inherited from module OpenAPI::Object

new(*, __mass_assignable_attributes args : T) forall T new

Constructor Detail

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

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

def self.new(**args) #

[View source]

Instance Method Detail

def allow_empty_value : Bool | Nil #

def allow_reserved : Bool | Nil #

def deprecated : Bool | Nil #

def description : String | Nil #

def example : JSON::Any::Type #

def examples : Hash(String, Example | Reference) | Nil #

def explode : Bool | Nil #

def required : Bool | Nil #

def schema : Schema | Reference | Nil #

def style : String | Nil #