Skip to content

OpenAPI_Path

mattpolzin edited this page Oct 1, 2020 · 4 revisions

OpenAPI.Path

OpenAPI Spec "Paths Object" path field pattern support.

public struct Path: RawRepresentable, Equatable, Hashable

See OpenAPI Paths Object and OpenAPI Patterned Fields.

Inheritance

Decodable, Encodable, Equatable, ExpressibleByStringLiteral, Hashable, RawRepresentable

Initializers

init(_:)

public init(_ components: [String])

init(rawValue:)

public init(rawValue: String)

init(stringLiteral:)

public init(stringLiteral value: String)

init(from:)

public init(from decoder: Decoder) throws

Properties

components

let components: [String]

rawValue

var rawValue: String

Methods

encode(to:)

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