Skip to content

OpenAPI_XML

mattpolzin edited this page May 23, 2020 · 3 revisions

OpenAPI.XML

OpenAPI Spec "XML Object"

public struct XML: Equatable

See OpenAPI XML Object.

Inheritance

Decodable, Encodable, Equatable

Initializers

init(name:namespace:prefix:attribute:wrapped:)

public init(name: String? = nil, namespace: URL? = nil, prefix: String? = nil, attribute: Bool = false, wrapped: Bool = false)

init(from:)

public init(from decoder: Decoder) throws

Properties

name

let name: String?

namespace

let namespace: URL?

prefix

let prefix: String?

attribute

let attribute: Bool

wrapped

let wrapped: Bool

Methods

encode(to:)

public func encode(to encoder: Encoder) throws
Types
Protocols
Global Functions
Extensions
Clone this wiki locally