Skip to content

Releases: mattpolzin/JSONAPI-OpenAPI

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.

Better resource object errors.

04 Jul 02:17
Compare
Choose a tag to compare
Pre-release

Change the case names and debug text for a couple of JSON:API resource errors (only relevant to swift code generation).

Updates for OpenAPIKit 1.4.0

03 Jul 04:27
0872835
Compare
Choose a tag to compare
Pre-release

OpenAPIKit 1.4.0 introduced resolved types that make the work of the JSONAPISwiftGen module simpler. The changes made to JSONAPISwiftGen break a number of public interfaces, though. No breaking changes to the JSONAPIOpenAPI or JSONAPIVizGen modules.

Update for JSONAPI v4 release.

01 Jun 06:56
Compare
Choose a tag to compare
Pre-release
0.19.0

update for JSONAPI v4 release.