Skip to content

DereferencedContent

mattpolzin edited this page Jun 11, 2021 · 4 revisions

DereferencedContent

An OpenAPI.Content type that guarantees its schema, encoding, and examples are inlined instead of referenced.

@dynamicMemberLookup
public struct DereferencedContent: Equatable 

Inheritance

Equatable

Nested Type Aliases

Map

public typealias Map = OrderedDictionary<OpenAPI.ContentType, DereferencedContent>

Properties

underlyingContent

public let underlyingContent: OpenAPI.Content

schema

public let schema: DereferencedJSONSchema?

examples

public let examples: OrderedDictionary<String, OpenAPI.Example>?

example

public let example: AnyCodable?

encoding

public let encoding: OrderedDictionary<String, DereferencedContentEncoding>?
Types
Protocols
Global Functions
Extensions
Clone this wiki locally