Releases: mattpolzin/JSONAPI-OpenAPI
Add error when not all path parameters are defined
Merge pull request #15 from mattpolzin/catch-undefined-parameters catch undefined path parameters before they cause a swift compilation…
Update for OpenAPIKit v2
Note that OpenAPIKit v2 introduced breaking changes.
Update for JSONAPI v5 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
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.