Releases: mattpolzin/jsonapi-openapi-test-server
Include15 support
Support including 15 different resource on one document (regarding testing).
Include14 Support
Adds support for 14 includes on one document (regarding generated Swift code used in testing).
0.19.1
What's Changed
- Update deps, specifically Vapor, to fix a precondition crash in NIO (#32)
Full Changelog: 0.19.0...0.19.1
Big dependency updates
Updated Swift version to 5.9.
Updated OpenAPIKit to 3.0.0 (still using OAS 3.0 document parsing, though).
Removed --parser
option without graceful migration; newer versions of Swift std json parser is faster so no need for a third party fast parser.
Fix bug with required-ness of `allOf` schemas
This release fixes a bug where the simplified schema resulting from an allOf
schema would not have the correct required
ness (it would be required when it should be optional.
Fix keywords in generated namespaces
For example, the route go/do/accept
would previously have resulted in a Swift code generated namespace of go.do.accept
and the do
component is a reserved word so it will fail to compile.
This is fixed by escaping do
with backticks in generated code.
Support Include12 and Include13 JSONAPI types
Merge pull request #27 from mattpolzin/package-updates update package versions
Rudimentary support for anyOf schemas
This implementation is not accurate in the general case, but it supports anyOf
at least a little by generating the same Poly
structures as are generated for oneOf
.
Multiple Named Examples
Supports generating multiple example parse tests when multiple named examples are provided on responses.
OneOf and multiline errors.
- Add support for
OneOf
JSON Schema in more places, namely JSON:API attributes. - Add support for multiline error messages in console logs.