Minor Changes
- Added support for the OAuth2
clientCredentialsandpasswordflows to thex-securityextension in Respect.
Patch Changes
-
Fixed an issue where the
structrule didn't report an Arazzo criterion that has atypeand nocontext. -
Fixed an issue where the
structrule reported an Arazzo request body that had nopayload, even though the field was optional. -
Fixed an issue where the
driftandproxycommands skipped theschema-consistencyrule with theMaximum call stack size exceededwarning when a schema had a discriminator with many values. -
Fixed an issue where the
driftandproxycommands checked a value against a recursive schema only down to the first level of recursion, so a mismatch below it was not reported. -
Fixed an issue where the
generate-clientcommand typed a schema asunknownwhen its$refpointed at a schema that was itself only a$ref. -
Fixed an issue where the
generate-clientcommand dropped the keywords next to a schema$refin OpenAPI 3.1 and later descriptions.
The generated types and schemas combine theproperties,required,allOf,oneOf, andanyOfnext to a$refwith the referenced schema.
A schema incomponentsthat is only a$reftakes thedescriptionanddeprecatedwritten next to it. -
Updated the
project clonecommand to address the project by its organization and project IDs in the Git remote URL, also when the project is given by slugs.Updated the
project pr createandproject pr statuscommands to call the Redocly platform API by IDs, and to show the Git command that switches a clone made with slugs to IDs. -
Fixed an issue where Respect failed steps that called a workflow from a previously run Arazzo description with
Property time is not expected hereandProperty checks is not expected hereerrors. -
Fixed an issue where the Respect schema check failed with the
Ajv error: Maximum call stack size exceededmessage when a response schema had a discriminator with many values. -
Fixed an issue where the Respect schema check failed with the
Ajv error: discriminator: requires oneOf or anyOf composite keywordmessage when a response schema had adiscriminatorwithoutoneOforanyOf.
Respect checks such a response against the rest of the schema. -
Fixed an issue where Respect ignored the
rfc9535version of ajsonpathcriterion.
A criterion withtype: { type: jsonpath, version: rfc9535 }queries itscontextvalue the same way as a Selector Object, so$[?(@.category == "dessert")]filters the items of a list. -
Fixed an issue where Respect failed a step with the
Maximum call stack size exceedederror when a request or a response was described with a recursive schema.
Respect checks a response against a recursive schema instead of skipping the schema check with a warning. -
Fixed an issue where the Respect schema check failed with the
must have required propertymessage when a response did not have a required property that is markedwriteOnlythroughallOf. -
Updated @redocly/client-generator to v0.10.7.
-
Updated @redocly/openapi-core to v2.84.0.
-
Updated @redocly/platform-integration to v2.84.0.
-
Updated @redocly/respect-core to v2.84.0.