Skip to content

OpenAPI_Document_Info_Contact

mattpolzin edited this page Oct 1, 2020 · 4 revisions

OpenAPI.Document.Info.Contact

OpenAPI Spec "Contact Object"

public struct Contact: Equatable, CodableVendorExtendable

See OpenAPI Contact Object.

Inheritance

CodableVendorExtendable, Decodable, Encodable, Equatable

Initializers

init(name:url:email:vendorExtensions:)

public init(name: String? = nil, url: URL? = nil, email: String? = nil, vendorExtensions: [String: AnyCodable] = [:])

Properties

name

let name: String?

url

let url: URL?

email

let email: String?

vendorExtensions

Dictionary of vendor extensions.

var vendorExtensions: [String: AnyCodable]

These should be of the form: [ "x-extensionKey": <anything>] where the values are anything codable.

Types
Protocols
Global Functions
Extensions

Clone this wiki locally