Skip to content

DereferencedHeader

mattpolzin edited this page Jun 11, 2021 · 4 revisions

DereferencedHeader

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

@dynamicMemberLookup
public struct DereferencedHeader: Equatable 

Inheritance

Equatable

Nested Type Aliases

Map

public typealias Map = OrderedDictionary<String, DereferencedHeader>

Properties

underlyingHeader

The original OpenAPI.Header prior to being dereferenced.

public let underlyingHeader: OpenAPI.Header

schemaOrContent

The dereferenced schema or content for the header, only one of which can apply to a given Header.

public let schemaOrContent: Either<DereferencedSchemaContext, DereferencedContent.Map>
Types
Protocols
Global Functions
Extensions
Clone this wiki locally