Additional support for turning Swift Types into OpenAPISchema
MIT License
Bot releases are visible (Hide)
This version requires OpenAPIKit 3.x and supports both OAS 3.0 and OAS 3.1.
OpenAPIReflection now has two modules, mirroring the split in OpenAPIKit. OpenAPIReflection
supports OAS 3.1 and OpenAPIReflection30
supports OAS 3.0.
Published by mattpolzin over 1 year ago
This fixes a bug where if a type that does not define its OpenAPI schema explicitly was wrapped in an Optional
and then set as a property of some type for which a genericOpenAPISchemaGuess()
was requested then the generic schema guess would result in the optional being represented as an explicit "some" key in the schema instead of just making the type it wraps optional.
Published by mattpolzin about 4 years ago
First stable release. Uses OpenAPIKit v2.
Published by mattpolzin about 4 years ago
Update to release candidate of OpenAPIKit, add a bit of test coverage, remove outdated "node" terminology with reference to JSON Schemas.
Published by mattpolzin about 4 years ago
Building out first official release against OpenAPIKit v2.
Published by mattpolzin about 4 years ago
Switch to Swift Package Manager dependency URLs that contain the .git
extension. This is not required by SwiftPM, but if a project does not consistently use the .git
extension on dependency URLs (or not) then SwiftPM can get into trouble. The majority of open source projects use or suggest using the .git
extension, so this project will standardize in that direction as well.
Published by mattpolzin over 4 years ago
⚠️ Breaking Changes ⚠️
Updates to OpenAPIKit v1.0 which introduced a number of breaking changes (although it will now be stable for duration of the v1 major version).
Published by mattpolzin over 4 years ago
⚠️ Breaking Changes ⚠️
In addition to the breaking changes in OpenAPIKit 0.29.x -> 0.30.x, this version removes support for pre-Swift 5.2 toolchains.
Published by mattpolzin over 4 years ago
Published by mattpolzin over 4 years ago
Published by mattpolzin over 4 years ago
Published by mattpolzin over 4 years ago
Published by mattpolzin over 4 years ago
Just port some stuff from OpenAPIKit into this new package.