struct Swagger::Objects::Encoding
- Swagger::Objects::Encoding
- Struct
- Value
- Object
Overview
Encoding Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#encodingObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/encoding.crConstructors
- .new(pull : JSON::PullParser)
- .new(content_type : String | Nil = nil, headers : Hash(String, Header) | Nil = nil, style : String | Nil = nil, explode : Bool = false, allow_reserved : Bool = false)
Instance Method Summary
- #allow_reserved : Bool
- #content_type : String | Nil
- #explode : Bool
- #headers : Hash(String, Header) | Nil
- #style : String | Nil
Constructor Detail
def self.new(content_type : String | Nil = nil, headers : Hash(String, Header) | Nil = nil, style : String | Nil = nil, explode : Bool = false, allow_reserved : Bool = false)
#