Skip to content

Releases: mattpolzin/JSONAPI-OpenAPI

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).

Use .git extension on SwiftPM dependencies consistently

09 Sep 14:24
ceced63
Compare
Choose a tag to compare

Switch to Swift Package Manager dependency URLs that contain the .git extension. This is not required by SwiftPM, but if a project does not consistently use the .git extension on dependency URLs (or not) then SwiftPM can get into trouble. The majority of open source projects use or suggest using the .git extension, so this project will standardize in that direction as well.

Don't cache API requests to disk.

23 Jul 01:02
715ac57
Compare
Choose a tag to compare
Pre-release

Use ephemeral caching for test requests to avoid odd errors related to fixes not being picked up by subsequent runs of the test suite.

Support different HTTP methods.

22 Jul 07:40
Compare
Choose a tag to compare
Pre-release

All requests were being made as GET. Now any HTTP method supported by OpenAPI can be specified for test requests.

Always provide a URL in API request network errors

19 Jul 20:50
Compare
Choose a tag to compare

If no URL is associated with a network error from an API request, provide the original request URL in the error output.

Another minor message tweak.

18 Jul 08:04
Compare
Choose a tag to compare
Pre-release
0.22.2

don't print the failure URL at all if it is nil.

Tweaks to API Test function

18 Jul 07:26
Compare
Choose a tag to compare
Pre-release

Better error handling and a MIME type check fix in generated API test functions.

Non-JSON:API Documents

12 Jul 07:13
3b0188e
Compare
Choose a tag to compare
Pre-release

Add a document generator type that can handle non-JSON:API payloads.