OpenAPIReflection

Additional support for turning Swift Types into OpenAPISchema

MIT License

Stars
18

Bot releases are hidden (Show)

OpenAPIReflection - Support OpenAPI 3.1.0 Latest Release

Published by mattpolzin 12 months ago

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.

OpenAPIReflection - Fix Optional reflection

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.

OpenAPIReflection - First stable release.

Published by mattpolzin about 4 years ago

First stable release. Uses OpenAPIKit v2.

OpenAPIReflection - Version 1.0.0 Release Candidate 1

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.

OpenAPIReflection - Version 1.0.0 Alpha 1

Published by mattpolzin about 4 years ago

Building out first official release against OpenAPIKit v2.

OpenAPIReflection - Can you git me now?

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.

OpenAPIReflection - Update to OpenAPIKit v1.0

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).

OpenAPIReflection - Bump OpenAPIKit 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.

OpenAPIReflection - Update OpenAPIKit version

Published by mattpolzin over 4 years ago

OpenAPIReflection - Fix date encoding bug

Published by mattpolzin over 4 years ago

OpenAPIReflection - Update to OpenAPIKit 0.28.0

Published by mattpolzin over 4 years ago

OpenAPIReflection - Fix infinite recursion bug and json case iterable bug.

Published by mattpolzin over 4 years ago

OpenAPIReflection - Initial Release

Published by mattpolzin over 4 years ago

Just port some stuff from OpenAPIKit into this new package.