Repository navigation
Releases
@redocly/respect-core@2.84.0
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 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/openapi-core to v2.84.0.
@redocly/recheck@2.84.0
Patch Changes
- Updated @redocly/openapi-core to v2.84.0.
@redocly/platform-integration@2.84.0
Patch Changes
-
Updated @redocly/config to v0.79.0.
-
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. -
Updated @redocly/openapi-core to v2.84.0.
@redocly/openapi-core@2.84.0
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. - Updated @redocly/config to v0.79.0.
@redocly/client-generator@0.10.7
Patch Changes
- 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 @redocly/openapi-core to v2.84.0.
@redocly/cli@2.84.0
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.
@redocly/respect-core@2.83.0
Minor Changes
- Added the
spec-step-parameters-in-requiredrule for Arazzo descriptions.
It reports a step or workflow parameter without theinfield, unless it only reaches steps that useworkflowId. - Added support for Arazzo 1.1.0 Selector Objects with a
jsonpathorjsonpointertype to therespectcommand.
A Selector Object in step or workflowoutputs, a parameter value, a request body payload, or a replacement value gives the data that the selector picks from itscontext.
Patch Changes
- Fixed an issue where the
criteriaof a success or failure action inrespectcould not read the workflow inputs.
A condition such as$inputs.flag == truewas always false, so the action never ran. - Fixed an issue where a
jsonpathcriterion always failed when its condition started with a member name, as in$.items[?(@.category == "dessert")].
Respect applies such a condition to thecontextvalue, the same way as a Selector Object. - Fixed an issue where a
jsonpathsuccess criterion did not match when its condition had a runtime expression inside quotes, as in$[?(@.status == "{$inputs.expectedStatus}")]. - Fixed an issue where
respectsent[object Object]instead of a form when a step did not setcontentType: multipart/form-datain itsrequestBody, and the content type came from the OpenAPI operation or from aContent-Typeheader parameter.
A$file(...)reference in the payload of such a step is loaded as a file when the request body of the operation ismultipart/form-data. - Fixed an issue where
respectsent[object Object]in amultipart/form-datarequest body when a runtime expression gave an object.
The object is sent asparent[child]fields and a list as repeated fields, the same way as values written in the description.
A payload that a runtime expression sets as a whole is sent as a form. - Fixed an issue where
respectreportedInvalid JSON Pointerfor a valid replacementtargetwhen the replacementvaluecould not be evaluated.
The step fails with the error of the value. - Fixed an issue where Respect failed a step that calls a workflow with
workflowIdwhen the step'soutputsused$inputs,$steps, or$workflows.
The expressions also work in theselectorof a Selector Object, for example{$inputs.name}. - Improved the error that Respect reports when an output of a step that calls a workflow with
workflowIdfails to resolve: the message now names the output. - Fixed an issue where Respect reported an extra
unexpected errorfor a step that calls a workflow withworkflowIdwhen the called workflow failed and left a value that theoutputsof the step read unset. - Fixed an issue where Respect did not explain why an output of a step that calls a workflow with
workflowIdhad no value when it read the request or the response, as in$response.bodyor$statusCode.
The step now fails with a message that says it sends no request, the same as for its success criteria. - Updated @redocly/openapi-core to v2.83.0.
@redocly/recheck@2.83.0
Patch Changes
- Updated @redocly/openapi-core to v2.83.0.
@redocly/platform-integration@2.83.0
Patch Changes
- Updated @redocly/config to v0.76.0.
- Updated @redocly/config to v0.77.0.
- Updated @redocly/openapi-core to v2.83.0.
@redocly/openapi-core@2.83.0
Minor Changes
- Added the
spec-step-parameters-in-requiredrule for Arazzo descriptions.
It reports a step or workflow parameter without theinfield, unless it only reaches steps that useworkflowId.
Patch Changes
- Updated @redocly/config to v0.76.0.
- Updated @redocly/config to v0.77.0.