Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/@v1/guides/lint-arazzo.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ run `redocly lint --generate-ignore-file` to add all problems to the ignore file
Choose from the ready-made rulesets (`minimal`, `recommended` or `recommended-strict`), or go one better and configure the rules that suit your use case.
There's a full [list of built-in rules for Arazzo](../rules/built-in-rules.md#arazzo-rules) to refer to.

Add the rules to `redocly.yaml`, but for Arazzo specifications, the rules go in their own configuration section called `arazzoRules`.
Add the rules to `redocly.yaml`, but for Arazzo specifications, the rules go in their own configuration section called `arazzo1Rules`.
The following example shows configuration for the minimal ruleset with some additional rules configuration:

```yaml
extends:
- minimal

arazzoRules:
arazzo1Rules:
sourceDescription-name-unique: warn
respect-supported-versions: error
```
Expand Down
4 changes: 2 additions & 2 deletions docs/@v2/guides/lint-arazzo.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ run `redocly lint --generate-ignore-file` to add all problems to the ignore file
Choose from the ready-made rulesets (`spec`, `minimal`, `recommended` or `recommended-strict`), or go one better and configure the rules that suit your use case.
There's a full [list of built-in rules for Arazzo](../rules/built-in-rules.md#arazzo-rules) to refer to.

Add the rules to `redocly.yaml`, but for Arazzo specifications, the rules go in their own configuration section called `arazzoRules`.
Add the rules to `redocly.yaml`, but for Arazzo specifications, the rules go in their own configuration section called `arazzo1Rules`.
The following example shows configuration for the minimal ruleset with some additional rules configuration:

```yaml
extends:
- minimal

arazzoRules:
arazzo1Rules:
sourceDescription-name-unique: warn
respect-supported-versions: error
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You must use an OpenAPI operation in a step to be able to reference `schemeName`
An example configuration:

```yaml
arazzoRules:
arazzo1Rules:
no-x-security-scheme-name-without-openapi: error
```

Expand All @@ -33,7 +33,7 @@ arazzoRules:
Given the following configuration:

```yaml
arazzoRules:
arazzo1Rules:
no-x-security-scheme-name-without-openapi: error
```

Expand Down
4 changes: 2 additions & 2 deletions docs/@v2/rules/respect/x-security-scheme-required-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Different OpenAPI `securitySchemes` have some required values, like `token` or `
An example configuration:

```yaml
arazzoRules:
arazzo1Rules:
x-security-schema-required-values: error
```

Expand All @@ -33,7 +33,7 @@ arazzoRules:
Given the following configuration:

```yaml
arazzoRules:
arazzo1Rules:
x-security-schema-required-values: error
```

Expand Down
Loading