struct Swagger::Objects::Header
- Swagger::Objects::Header
- Struct
- Value
- Object
Overview
Header Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#headerObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/header.crConstructors
- .new(name : String, parameter_location : String, description : String | Nil = nil, required : Bool = false, deprecated : Bool = false, allow_empty_value : Bool = false)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #allow_empty_value : Bool
- #deprecated : Bool
- #description : String | Nil
- #name : String
- #parameter_location : String
- #ref : String | Nil
- #required : Bool
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)
#