Repository navigation
@redocly/openapi-core@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 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. -
Updated @redocly/config to v0.75.0.