Skip to content

Releases: mattpolzin/JSONAPI

Add OpenAPI support for Date attributes.

24 Jan 08:50
Compare
Choose a tag to compare

Added support for Date and other Attribute RawValue Types as long as those Types provide Sampleable conformance.

Breaking: The interface for generating Open API Nodes has changed slightly.

Add `Sampleable` conformance to the `Include` types.

23 Jan 19:53
Compare
Choose a tag to compare
0.14.5

Add Sampleable conformance to UnknownJSONAPIError. Add Sampleable con…

Switch to Poly 1.0.0

23 Jan 08:35
Compare
Choose a tag to compare
Switch to Poly 1.0.0 Pre-release
Pre-release

This fixes a package dependency that was tied to Poly's master branch by switching it to version 1.0.0

Add `Include` support to OpenAPI schema of JSONAPI `Document`

22 Jan 20:02
850a713
Compare
Choose a tag to compare
Merge pull request #13 from mattpolzin/feature/OpenAPISchema

Add Include support to OpenAPI schema of JSONAPI Document.

Additions to +Arbitrary and +OpenAPI

22 Jan 16:22
6dd14da
Compare
Choose a tag to compare
Pre-release

Lot's added here. Still a long ways from being able to generate the entire OpenAPI Schema object for a JSONAPI Document, but making serious strides in that direction and figuring out some of the tougher features to automate.

  • Added easy OpenAPI example generation for Sampleable JSONAPI Entities.
  • Added Arbitrary conformance for UnknownJSONAPIError
  • Added "const" workaround: "enum" with only one value.
  • Added quite a bit of test coverage on OpenAPI generation of JSNOAPI Entities.

Add Arbitrary support for the rest of JSONAPI's key types.

21 Jan 21:18
6ce962c
Compare
Choose a tag to compare

Now all of the key types of JSONAPI have Arbitrary support. This auxiliary framework remains largely undocumented but if you are already familiar with SwiftCheck then you will have little trouble filling in the blanks and taking advantage of JSONAPI+Arbitrary to create arbitrary JSONAPI Documents for testing purposes.

JSONAPI+Testing, JSONAPI+Arbitrary, JSONAPI+OpenAPI

21 Jan 19:54
65144d2
Compare
Choose a tag to compare

Breaking: Renamed JSONAPITestLib to JSONAPITesting.

Introducing two new framework targets: JSONAPIArbitrary and JSONAPIOpenAPI. Neither is complete, but both offer interesting glimpses into the future. The Arbitrary framework also already does offer utility if you intend to make your models conform to SwiftCheck's Arbitrary protocol for the purpose of generating random values for tests.

Add Meta-Relationships

09 Jan 05:24
Compare
Choose a tag to compare
Pre-release
0.13.3

Add Meta-Relationship access.

Add Meta-Attributes

03 Jan 06:53
Compare
Choose a tag to compare
Add Meta-Attributes Pre-release
Pre-release

See the README for more info on Meta-Attributes. This niche feature can help make unfortunate API realities a bit more natural to work with.

Update documentation and included playgrounds to work with v0.13.0

03 Jan 03:47
Compare
Choose a tag to compare
0.13.1

update README to reflect change made in v0.12.0