Skip to content

OpenAPI_Content_Encoding

mattpolzin edited this page May 23, 2020 · 13 revisions

OpenAPI.Content.Encoding

OpenAPI Spec "Encoding Object"

public struct Encoding: Equatable

See OpenAPI Encoding Object.

Inheritance

Decodable, Encodable, Equatable

Nested Type Aliases

Style

public typealias Style = OpenAPI.Parameter.SchemaContext.Style

Initializers

init(contentType:headers:style:allowReserved:)

public init(contentType: OpenAPI.ContentType? = nil, headers: OpenAPI.Header.Map? = nil, style: Style = Self.defaultStyle, allowReserved: Bool = false)

init(contentType:headers:style:explode:allowReserved:)

public init(contentType: OpenAPI.ContentType? = nil, headers: OpenAPI.Header.Map? = nil, style: Style = Self.defaultStyle, explode: Bool, allowReserved: Bool = false)

Properties

contentType

let contentType: OpenAPI.ContentType?

headers

let headers: OpenAPI.Header.Map?

style

let style: Style

explode

let explode: Bool

allowReserved

let allowReserved: Bool

defaultStyle

let defaultStyle: Style
Types
Protocols
Global Functions
Extensions
Clone this wiki locally