Changelog
June 2023
- Support for V4 Pacts added
- Added full RFC 9110: HTTP Semantics §12 support for content-types, content-negotiation and vendor specific media types
- Support for negative scenario testing
July 2023
danger
If you are here because tests that were previously passing are now failing, it is likely that your use of the discriminator
keyword is incompatible with our latest update. Refer to this guide for how to correct this, and more generally our compatibility checks guide for understanding the errors and warnings
- Support for OAS 3.1
- As per JSON Schema guidance, numbers are not coerced into narrow types such as
int64
,int32
andfloat
, with support only fornumber
andinteger
. Validation has been relaxed to accommodate this (see https://github.com/ajv-validator/ajv-formats/pull/22#issuecomment-808896823). nullable
now requires use oftype
, see https://github.com/ajv-validator/ajv/blob/490eb8c0eba8392d071fef005e16d330f259d0ba/lib/compile/validate/dataType.ts#L26C66-L26C66.- Transformations to OAS document applied to improve use of
anyOf
,oneOf
,allOf
and polymorphic payloads.