Releases: mattpolzin/JSONAPI-OpenAPI
Use .git extension on SwiftPM dependencies consistently
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.
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.
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
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.
0.22.2 don't print the failure URL at all if it is nil.
Tweaks to API Test function
Better error handling and a MIME type check fix in generated API test functions.
Non-JSON:API Documents
Add a document generator type that can handle non-JSON:API payloads.
Better resource object errors.
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
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.
0.19.0 update for JSONAPI v4 release.