Releases: mattpolzin/JSONAPI
Add OpenAPI support for Date attributes.
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.
0.14.5 Add Sampleable conformance to UnknownJSONAPIError. Add Sampleable con…
Switch to Poly 1.0.0
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`
Merge pull request #13 from mattpolzin/feature/OpenAPISchema Add Include support to OpenAPI schema of JSONAPI Document.
Additions to +Arbitrary and +OpenAPI
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.
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
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
0.13.3 Add Meta-Relationship access.
Add Meta-Attributes
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
0.13.1 update README to reflect change made in v0.12.0