Skip to content

OpenAPI_RuntimeExpression_Source

mattpolzin edited this page Jun 11, 2021 · 2 revisions

OpenAPI.RuntimeExpression.Source

public enum Source: RawRepresentable, Equatable 

Inheritance

Equatable, RawRepresentable

Initializers

init?(rawValue:)

public init?(rawValue: String) 

Enumeration Cases

header

A reference to one of the header parameters.

case header(name: String)

query

A reference to one of the query parameters.

case query(name: String)

path

A reference to one of the path parameters.

case path(name: String)

body

A JSON Pointer to part of the requset or response body.

case body(JSONReference<JSONSchema>.InternalReference?)

You can leave the reference as nil to just refer to the body as a whole.

Properties

rawValue

public var rawValue: String 
Types
Protocols
Global Functions
Extensions
Clone this wiki locally