Skip to content
mattpolzin edited this page Jun 11, 2021 · 1 revision

Extensions on Array

Properties

openAPISchema

static public var openAPISchema: JSONSchema 

Methods

combined(resolvingAgainst:)

An array of schema fragments can be combined into a single DereferencedJSONSchema if all references can be looked up locally and none of the fragments conflict.

public func combined(resolvingAgainst components: OpenAPI.Components) throws -> DereferencedJSONSchema 

Combining fragments will both remove references and attempt to reject any results that would represent impossible schemas -- that is, schemas that cannot be satisfied and could not ever be used to validate anything (guaranteed validation failure).

Types
Protocols
Global Functions
Extensions
Clone this wiki locally