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.3.md#headerObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/header.crConstructors
- .new(name : String, parameter_location : String, description : String? = nil, required = false, deprecated = false, allow_empty_value = false)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #allow_empty_value : Bool
- #deprecated : Bool
- #description : String?
- #name : String
- #parameter_location : String
- #ref : String?
- #required : Bool
Constructor Detail
def self.new(name : String, parameter_location : String, description : String? = nil, required = false, deprecated = false, allow_empty_value = false)
#