Skip to content

OpenAPI_XML

mattpolzin edited this page Jun 11, 2021 · 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

public let name: String?

namespace

public let namespace: URL?

prefix

public let prefix: String?

attribute

public let attribute: Bool 

wrapped

public let wrapped: Bool 

Methods

encode(to:)

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