You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example project using [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator).
4
+
5
+
> **Disclaimer:** This example is deliberately simplified and is intended for illustrative purposes only.
6
+
7
+
## Overview
8
+
9
+
This example shows how to use [type overrides](https://swiftpackageindex.com/apple/swift-openapi-generator/documentation/swift-openapi-generator/configuring-the-generator) with Swift OpenAPI Generator.
/// Validates all type overrides from a Config are present in the components of a ParsedOpenAPIRepresentation.
256
+
///
257
+
/// This method iterates through the type overrides defined in the config and checks that for each of them a named schema is defined in the OpenAPI document.
258
+
///
259
+
/// - Parameters:
260
+
/// - doc: The OpenAPI document to validate.
261
+
/// - config: The generator config.
262
+
/// - Returns: An array of diagnostic messages representing type overrides for nonexistent schemas.
0 commit comments