struct

Swagger::Objects::Header

Inherits JSON::Serializable < Struct < Value < Object

Header Object

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

Constructors

new(name : String, parameter_location : String, description : String | Nil = nil, required : Bool = false, deprecated : Bool = false, allow_empty_value : Bool = false)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

allow_empty_value
Source
deprecated
Source
description
Source
name
Source
parameter_location
Source
required
Source