Repository navigation
@redocly/cli@2.80.0
Minor Changes
- Added the
spec-action-mutually-exclusive-fieldsrule for Arazzo descriptions.
The rule reports a success or failure action that uses bothstepIdandworkflowId. - Added the
spec-outputs-invalid-map-namerule for Arazzo descriptions.
The rule reports a workflow or step output name that does not match the regular expression^[a-zA-Z0-9\.\-_]+$, as the Arazzo specification requires.
Patch Changes
-
Fixed an issue where
lintstopped with an error instead of reporting the problems when thesourceDescriptions,workflows,steps, ordependsOnof an Arazzo description was not a list or had an empty item. -
Fixed an issue where the
structrule didn't report an emptysuccessCriterialist of an Arazzo step or an emptycriterialist of a success action. -
Fixed an issue where the
structrule didn't report an Arazzo workflow with an emptystepslist. -
Fixed an issue where the
structrule didn't report an Arazzo description with an emptyworkflowslist. -
Improved the error messages for misconfigured configurable rules.
The error names the rule and is reported even if the API description has no node of the rule's subject type. -
Fixed an issue where
driftreported a valid decimal value, such as98.8formultipleOf: 0.1, as a schema mismatch. -
Fixed an issue where the
no-invalid-schema-examples,no-invalid-media-type-examples, andno-invalid-parameter-examplesrules reported a valid decimal example.The rules accept a value that differs from a multiple by less than one millionth of
multipleOf, such as1.0000001formultipleOf: 1. -
Fixed type errors in the generated TypeScript client when a project's
tsconfig.jsondidn't include theDOMlib. -
Fixed an issue where
joinandsplitfolded long YAML strings into several lines and changed multi-line strings from literal style (|) to folded style (>). -
Fixed an issue where Respect left the runs of the workflows from a
dependsOnlist out of the results. -
Fixed an issue where
respectreportedunexpected errorinstead ofglobal timeout errorfor a workflow when the execution timeout stopped a workflow from itsdependsOnlist. -
Fixed an issue where
respectreported a valid decimal value, such as98.8formultipleOf: 0.1, in a response or in workflow inputs. -
Fixed an issue where
respectcounted steps that sent no request, such as the steps skipped after the execution timeout, intotalRequestsof the JSON output. -
Updated @redocly/client-generator to v0.10.3.
-
Updated @redocly/openapi-core to v2.80.0.
-
Updated @redocly/platform-integration to v2.80.0.
-
Updated @redocly/respect-core to v2.80.0.