Minor Changes
- Added the
no-step-requestBody-with-workflowIdrule for Arazzo descriptions.
It reports therequestBodyof a step that usesworkflowId, because a request body is only passed to an operation. - Added the
spec-no-invalid-runtime-expressionsrule for Arazzo descriptions.
It reports an invalid runtime expression in theoutputsof a workflow or a step, in thecontextof a criterion or a selector, in thereferenceof a reusable object, and in theoperationPathor thechannelPathof a step. - Added the
spec-step-dependsOn-definedrule for Arazzo 1.1.0 descriptions.
The rule reports a step whosedependsOnlist has a value that does not reference a defined step. - Added
formatvalidation to the response schema checks in Respect, using the same formats as the lint rules.
For example, a response value withformat: date-timethat is not a valid date-time fails the schema check.
Patch Changes
- Fixed an issue where Respect could take a long time to evaluate a string with many unclosed
$fakercalls. - Fixed an issue where Respect failed with the
Maximum call stack size exceedederror when more than one Arazzo file in a run used the same OpenAPI description with a recursive schema. - Fixed an issue where Respect failed with the
Maximum call stack size exceedederror when a workflowinputsschema was recursive. - Fixed an issue where Respect did not evaluate a runtime expression with a name that starts with a digit, an underscore, or a hyphen, such as
$inputs._token, or an$inputsexpression with a JSON Pointer, such as$inputs.customer#/name. - Fixed an issue where Respect didn't evaluate runtime expressions with characters that the Arazzo specification allows in JSON Pointers or query and path parameter names.
- Updated @redocly/openapi-core to v2.85.0.