Skip to content

Releases: mattpolzin/JSONAPI-OpenAPI

More versatility

15 Feb 18:28
e7d47de
Compare
Choose a tag to compare
More versatility Pre-release
Pre-release

What's Changed

Full Changelog: 0.31.0...0.32.0

Uses OpenAPIKit 3.0.0

06 Nov 04:11
8bb3026
Compare
Choose a tag to compare
Uses OpenAPIKit 3.0.0 Pre-release
Pre-release

OpenAPIKit 3.0.0
Swift 5.9

Fixes test namespaces when some reserved words are found in a route path

24 Oct 16:07
fc87ed7
Compare
Choose a tag to compare

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.

Fix JSONAPI relationship gen for v5

24 Aug 18:05
5632730
Compare
Choose a tag to compare
Pre-release

The JSONAPI relationships generated will now successfully compile for v5 of the JSONAPI library.

Support anyOf structure generation

29 Mar 01:54
accaae5
Compare
Choose a tag to compare
Pre-release

Rudimentary allOf structure generation (Swift code generation) support. 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.

Support named examples

22 Mar 04:46
b940506
Compare
Choose a tag to compare
Pre-release

Support for multiple named example parse tests when named response examples are used in documentation.

Add support for oneOf in more places.

16 Feb 08:01
80896d9
Compare
Choose a tag to compare
Pre-release

Now in some places, like JSON:API attributes, oneOf is supported to allow for polymorphic OpenAPI specs to be representable by Swift types generated by this library. The new support comes by way of the Poly type that was there all along to support JSON:API includes.

Add error when not all path parameters are defined

02 Oct 04:03
1983d5b
Compare
Choose a tag to compare
Merge pull request #15 from mattpolzin/catch-undefined-parameters

catch undefined path parameters before they cause a swift compilation…

Update for OpenAPIKit v2

28 Sep 02:22
67a735e
Compare
Choose a tag to compare
Pre-release

Note that OpenAPIKit v2 introduced breaking changes.

Update for JSONAPI v5 release.

27 Sep 06:00
1ab9663
Compare
Choose a tag to compare
Pre-release

Update to the JSONAPI library v5 and drop Swift 5.2 support (easiest way to keep using swift-format).