github Redocly/redocly-cli @redocly/openapi-core@2.81.0

one hour ago

Minor Changes

  • Added the spec-action-stepId-defined rule for Arazzo descriptions.
    It reports a success or failure action whose stepId does not reference a step of the current workflow.
  • Added the spec-sourceDescriptions-defined rule for Arazzo descriptions.
    The rule reports a $sourceDescriptions.<name> reference in the operationPath, channelPath, workflowId, or dependsOn of a step, or in the workflowId of a success or failure action, when no source description with that name is defined.
  • Added the spec-step-operationId-resolved rule for Arazzo descriptions.
    The rule reports a step whose operationId does not resolve to an operation in an OpenAPI source description, or names an operation that several source descriptions define.
    To check that, lint loads the OpenAPI source descriptions of an Arazzo description.
  • Added the spec-step-workflowId-defined rule for Arazzo descriptions.
    It reports a step whose workflowId does not reference an existing workflow.
  • Changed the built-in rulesets to enable spec-example-values instead of the deprecated no-example-value-and-externalValue rule.
    The configuration linter warns about the deprecated rule.

Patch Changes

  • Fixed an issue where an example with externalValue and a value of 0, false, null, or an empty string was not reported.

Don't miss a new redocly-cli release

NewReleases is sending notifications on new releases.