Skip to content

Commit 151573a

Browse files
committed
ci: adds a redocly configuration to prevent future breakages
Signed-off-by: Vincent Biret <[email protected]>
1 parent 6e54cd0 commit 151573a

File tree

3 files changed

+16
-161
lines changed

3 files changed

+16
-161
lines changed

.github/workflows/validate-descriptions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
- name: Validate description with redocly
3434
uses: fluximus-prime/redocly-cli-github-action@v1
3535
with:
36-
args: 'lint test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/${{ matrix.descriptions }} --skip-rule operation-4xx-response --skip-rule no-server-trailing-slash --skip-rule no-unused-components --skip-rule security-defined --skip-rule info-license-url --skip-rule info-license --skip-rule no-empty-servers --skip-rule operation-summary --skip-rule tag-description --max-problems 1000'
36+
args: 'lint test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/${{ matrix.descriptions }} --max-problems 1000 --config redocly.yaml'

.redocly.lint-ignore.yaml

Lines changed: 0 additions & 160 deletions
This file was deleted.

redocly.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
extends:
2+
- recommended
3+
4+
rules:
5+
operation-4xx-response: off
6+
nullable-type-sibling: off
7+
no-server-example.com: off
8+
no-server-trailing-slash: off
9+
no-unused-components: off
10+
security-defined: off
11+
info-license-url: off
12+
info-license: off
13+
no-empty-servers: off
14+
operation-summary: off
15+
tag-description: off

0 commit comments

Comments
 (0)