Minor Changes
- Added the
spec-action-stepId-definedrule for Arazzo descriptions.
It reports a success or failure action whosestepIddoes not reference a step of the current workflow. - Added the
spec-sourceDescriptions-definedrule for Arazzo descriptions.
The rule reports a$sourceDescriptions.<name>reference in theoperationPath,channelPath,workflowId, ordependsOnof a step, or in theworkflowIdof a success or failure action, when no source description with that name is defined. - Added the
spec-step-operationId-resolvedrule for Arazzo descriptions.
The rule reports a step whoseoperationIddoes not resolve to an operation in an OpenAPI source description, or names an operation that several source descriptions define.
To check that,lintloads the OpenAPI source descriptions of an Arazzo description. - Added the
spec-step-workflowId-definedrule for Arazzo descriptions.
It reports a step whoseworkflowIddoes not reference an existing workflow. - Changed the built-in rulesets to enable
spec-example-valuesinstead of the deprecatedno-example-value-and-externalValuerule.
The configuration linter warns about the deprecated rule.
Patch Changes
- Fixed an issue where an example with
externalValueand avalueof0,false,null, or an empty string was not reported.