You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/lint-arazzo.md
+1-16Lines changed: 1 addition & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,22 +71,7 @@ run `redocly lint --generate-ignore-file` to add all problems to the ignore file
71
71
## Configure the linting rules
72
72
73
73
Choose from the ready-made rulesets (`minimal`, `recommended` or `recommended-strict`), or go one better and configure the rules that suit your use case.
74
-
The rules available for linting Arazzo are:
75
-
76
-
-`parameters-not-in-body`: the `in` section inside `parameters` must not contain a `body`.
77
-
-`sourceDescription-type`: the `type` property of the `sourceDescription` object must be either `openapi` or `arazzo`.
78
-
-`version-enum`: the `version` property must be one of the supported values.
79
-
-`workflowId-unique`: the `workflowId` property must be unique across all workflows.
80
-
-`stepId-unique`: the `stepId` must be unique amongst all steps described in the workflow.
81
-
-`sourceDescription-name-unique`: the `name` property of the `sourceDescription` object must be unique across all source descriptions.
82
-
-`workflow-dependsOn`: the items in the `workflow``dependsOn` property must exist and be unique.
83
-
-`parameters-unique`: the `parameters` list must not include duplicate parameters.
84
-
-`step-onSuccess-unique`: the `onSuccess` actions of the `step` object must be unique.
85
-
-`step-onFailure-unique`: the `onFailure` actions of the `step` object must be unique.
86
-
-`requestBody-replacements-unique`: the `replacements` of the `requestBody` object must be unique.
87
-
-`no-criteria-xpath`: the `xpath` type criteria is not supported by Spot.
88
-
-`no-actions-type-end`: the `end` type action is not supported by Spot.
89
-
-`criteria-unique`: the criteria list must not contain duplicated assertions.
74
+
There's a full [list of built-in rules for Arazzo](../rules/built-in-rules.md#arazzo-rules) to refer to.
90
75
91
76
Add the rules to `redocly.yaml`, but for Arazzo specifications, the rules go in their own configuration section called `arazzoRules`.
92
77
The following example shows configuration for the minimal ruleset with some additional rules configuration:
0 commit comments