Skip to content

DereferencedParameter

mattpolzin edited this page Jun 11, 2021 · 4 revisions

DereferencedParameter

An OpenAPI.Parameter type that guarantees its schemaOrContent is inlined instead of referenced.

@dynamicMemberLookup
public struct DereferencedParameter: Equatable 

Inheritance

Equatable

Properties

underlyingParameter

The original OpenAPI.Parameter prior to being dereferenced.

public let underlyingParameter: OpenAPI.Parameter

schemaOrContent

The dereferenced schema or content for the parameter.

public let schemaOrContent: Either<DereferencedSchemaContext, DereferencedContent.Map>

Only one of a "schema" or "content" can apply to any given parameter.

Types
Protocols
Global Functions
Extensions
Clone this wiki locally