@redocly/recheck@2.82.02026-11-19
Patch Changes
- Updated @redocly/openapi-core to v2.82.0.
@redocly/openapi-core@2.82.02026-11-19
Minor Changes
- Added the spec-action-workflowId-defined rule for Arazzo descriptions.
It reports a success or failure action whose workflowId does not reference an existing workflow.
Patch Changes
- Fixed an issue where the spec-sourceDescriptions-defined rule reported the workflowId of a success or a failure action with the end type.
@redocly/cli@2.82.02026-11-19
Minor Changes
- Added the spec-action-workflowId-defined rule for Arazzo descriptions.
It reports a success or failure action whose workflowId does not reference an existing workflow.
Patch Changes
- Fixed an issue where the spec-sourceDescriptions-defined rule reported the workflowId of a success or a failure action with the end type.
- Fixed an issue where the preview command previewed the whole workspace package instead of the requested directory when a user ran it with npx in an npm workspace.
The issue occurred when the command ran from a subdirectory of the package, or when the --project-dir option pointed to a subdirectory.
- Fixed an issue where Respect failed a step when its end action had a workflowId that did not reference an existing workflow.
The workflowId of an end action is not relevant, so Respect no longer resolves it.
- Updated @redocly/openapi-core to v2.82.0.
- Updated redoc to v3.2.0.
- Updated @redocly/respect-core to v2.82.0.
@redocly/platform-integration@2.82.02026-11-19
Patch Changes
- Updated @redocly/openapi-core to v2.82.0.
@redocly/client-generator@0.10.52026-11-19
Patch Changes
- Updated @redocly/openapi-core to v2.82.0.
@redocly/respect-core@2.82.02026-11-19
Minor Changes
- Added the spec-action-workflowId-defined rule for Arazzo descriptions.
It reports a success or failure action whose workflowId does not reference an existing workflow.
Patch Changes
- Fixed an issue where the spec-sourceDescriptions-defined rule reported the workflowId of a success or a failure action with the end type.
- Fixed an issue where Respect failed a step when its end action had a workflowId that did not reference an existing workflow.
The workflowId of an end action is not relevant, so Respect no longer resolves it.
- Updated @redocly/openapi-core to v2.82.0.
@redocly/respect-core@2.81.02026-11-19
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.
Patch Changes
- Updated @redocly/openapi-core to v2.81.0.
@redocly/platform-integration@2.81.02026-11-19
Minor Changes
- Added the getAuthState method to RedoclyOAuthClient to report why a stored session can't be used, such as an expired session or an unreachable platform.
The client also accepts a custom credentials store and a function that opens the browser during device login; the login stops when that function resolves to false.
- Added RemoteScorecardError, which fetchRemoteScorecardAndPlugins throws with a reason for the failure, such as missing access or an unreachable platform.
- Replaced RedoclyOAuthDeviceFlow.verifyToken with getTokenStatus, which returns 'valid', 'expired', or 'unreachable' instead of a boolean.
If you call verifyToken, call getTokenStatus and check for 'valid' instead of true.
Patch Changes
- Fixed commands that reported you as logged out when another Redocly CLI or editor process refreshed the same login session at the same time.
A refreshed session is now also used when the credentials file can't be updated.
- Updated @redocly/openapi-core to v2.81.0.
@redocly/recheck@2.81.02026-11-19
Patch Changes
- Updated @redocly/openapi-core to v2.81.0.
@redocly/openapi-core@2.81.02026-11-19
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.