Skip to content

Releases: mattpolzin/JSONAPI-OpenAPI

Fix periods in path

15 Sep 15:26
29440d8
Compare
Choose a tag to compare
Fix periods in path Pre-release
Pre-release

What's Changed

Full Changelog: 0.33.0...0.33.1

Update OpenAPIKit and JSONAPI dependencies

15 Sep 15:17
f959054
Compare
Choose a tag to compare

What's Changed

This project now requires Swift 6.0+, but it does not yet fully support Swift 6 language mode (Swift 5 language mode with a Swift 6.x compiler is currently required).

Full Changelog: 0.32.1...0.33.0

Fix underscore path component test generation

19 Aug 15:44
8ac5e4f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.32.0...0.32.1

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.