struct Swagger::Objects::Header

Overview

Header Object

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

Included Modules

Defined in:

swagger/objects/header.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, parameter_location : String, description : String | Nil = nil, required : Bool = false, deprecated : Bool = false, allow_empty_value : Bool = false) #

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

[View source]

Instance Method Detail

def allow_empty_value : Bool #

[View source]
def deprecated : Bool #

[View source]
def description : String | Nil #

[View source]
def name : String #

[View source]
def parameter_location : String #

[View source]
def ref : String | Nil #

[View source]
def required : Bool #

[View source]