Skip to content

Releases: mattpolzin/jsonapi-openapi-test-server

Include15 support

27 Mar 22:52
398e700
Compare
Choose a tag to compare
Include15 support Pre-release
Pre-release

Support including 15 different resource on one document (regarding testing).

Include14 Support

27 Mar 19:28
6c5807f
Compare
Choose a tag to compare
Include14 Support Pre-release
Pre-release

Adds support for 14 includes on one document (regarding generated Swift code used in testing).

0.19.1

07 Nov 01:37
7a7611c
Compare
Choose a tag to compare
0.19.1 Pre-release
Pre-release

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

06 Nov 16:29
e08e016
Compare
Choose a tag to compare
Pre-release

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

20 Jul 00:08
3007c9f
Compare
Choose a tag to compare

This release fixes a bug where the simplified schema resulting from an allOf schema would not have the correct requiredness (it would be required when it should be optional.

Fix keywords in generated namespaces

24 Oct 16:22
42363d6
Compare
Choose a tag to compare
Pre-release

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

24 Aug 19:01
efbb5cb
Compare
Choose a tag to compare
Merge pull request #27 from mattpolzin/package-updates

update package versions

Rudimentary support for anyOf schemas

29 Mar 02:26
fb89c76
Compare
Choose a tag to compare
Pre-release

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

22 Mar 05:26
bbc9113
Compare
Choose a tag to compare
Pre-release

Supports generating multiple example parse tests when multiple named examples are provided on responses.

OneOf and multiline errors.

16 Feb 08:23
20956fa
Compare
Choose a tag to compare
Pre-release
  • Add support for OneOf JSON Schema in more places, namely JSON:API attributes.
  • Add support for multiline error messages in console logs.