OpenAPIKit
OpenAPIKit copied to clipboard
Codable Swift OpenAPI implementation.
Hello! I recently resurrected a project from last year on 3.0. alpha 1 (which included a fix I needed for handling optionals) and moved to 3.0 alpha 4. On alpha...
This will need to live in a new library module (`OpenAPIKitCompat`) that depends on both the `OpenAPIKit30` and `OpenAPIKit` modules.
Hi, I could be wrong, but it looks like vendor extensions can only be resolved as AnyCodable dictionaries of `[String: Any]`. It would be great if we could use $refs...
This draft will remain open while v3.0 is in development on its own branch.
This will need to live in a new library module (name TBD) that depends on both the `OpenAPIKit30` and `OpenAPIKit` modules. Work off of the `release/3_0` branch.
Create a validation that `operationId`s in `Link` objects refer to `Operation` objects in the document that have the given ids. This should probably be an optional validation rather than a...
The JSON Schema specification supports a `const` keyword that is much like `enum` but only specifies one value that should always be expected. `const` was not supported by OpenAPI 3.0...
See [Specifying Schema Dialects](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#specifying-schema-dialects) in the new spec. This change will impact both the `JSONSchema` type and the root document type (where a default dialect is allowed to be specified)....
See [release notes](https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0-rc1), and [new spec](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md). Work off of the `release/3_0` branch and work on types in the `OpenAPIKit` (not `OpenAPIKit_3_0`) module. We need not make the `responses` property optional...
In the process of working on the Swift package registry specification, I had the idea to create [SwiftUI preview](https://nshipster.com/swiftui-previews/) for OpenAPI documents similar to the [Swagger UI docs](https://petstore.swagger.io). I don't...