Skip to content

Releases: mattpolzin/jsonapi-openapi-test-server

Rudimentary support for anyOf schemas

29 Mar 02:26
fb89c76
Compare
Choose a tag to compare
Pre-release

This implementation is not accurate in the general case, but it supports anyOf at least a little by generating the same Poly structures as are generated for oneOf.

Multiple Named Examples

22 Mar 05:26
bbc9113
Compare
Choose a tag to compare
Pre-release

Supports generating multiple example parse tests when multiple named examples are provided on responses.

OneOf and multiline errors.

16 Feb 08:23
20956fa
Compare
Choose a tag to compare
Pre-release
  • Add support for OneOf JSON Schema in more places, namely JSON:API attributes.
  • Add support for multiline error messages in console logs.

Add path parameter definition validation

04 Nov 19:54
Compare
Choose a tag to compare

Add a validation (only run when --validate-all flag is used) that all path parameters in the documentation are also defined by name in the parameters under each Path Item or Operation.

Error improvements

02 Oct 05:21
ff554a4
Compare
Choose a tag to compare
Error improvements Pre-release
Pre-release
  • Fix bug when parameter definitions are missing.
  • make validation optional but make script exit non-zero if validations fail with fail-hard enabled.

Update to Open APIKit v2 & JSONAPI v5

28 Sep 03:03
f6b0844
Compare
Choose a tag to compare
Pre-release

Update to OpenAPIKit v2 and introduce validation errors to testing output.

You now get parsing errors & warnings, validation errors, and test execution errors as part of a test run.

Updating to JSONAPI v5 comes with much clearer error reporting when JSON:API includes fail to parse.

Fix API Test Properties lookup and creation

26 Jul 20:15
Compare
Choose a tag to compare
0.11.1

fix bug with test properties creation and lookup not accounting for n…

Add parser option to API Test Properties

26 Jul 01:22
Compare
Choose a tag to compare

Expose a new property for tests that chooses between a stable and fast parser. The stable option is the one that was historically available.

⚠️ Breaking Change ⚠️
This is a breaking change for the API because the api_test_properties model has gained a new required attribute.

Support non-GET endpoints

23 Jul 01:13
Compare
Choose a tag to compare
Pre-release

Adds support (finally) for non-GET http methods. Also fixes a bug where disk caching of test responses could mess up test results. now ephemeral caching is used.

Support explicitly not-JSON:API endpoints

20 Jul 05:11
8235db0
Compare
Choose a tag to compare

Support the x-not-json-api specification extension on OpenAPI Media Item that makes an endpoint not even warn you if it is not JSON:API compliant because you've stated it is not expected to be.