-
Notifications
You must be signed in to change notification settings - Fork 4
/
spectral-legacy.yml
30 lines (29 loc) · 1.1 KB
/
spectral-legacy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
extends:
- https://raw.githubusercontent.com/SchwarzIT/api-linter-rules/main/spectral.yml
rules:
tag-description: info # Rule enabled from spectral openapi ruleset
operation-tag-defined: off
path-must-match-api-standards: off # Rule is still under discussion and therefore disabled
servers-must-match-api-standards: off # Rule is still under discussion and therefore disabled
common-responses-unauthorized: hint
no-http-verbs-in-resources: info
info-description: info
contact-information: info
must-have-path: info
must-define-example-schema: info
path-must-specify-tags: info
# We do not want to hinder anyone from deploying, therefore we overwrite all default rules from spectral with a severity of error to info
operation-operationId-unique: info
path-params: info
no-$ref-siblings: info
oas2-discriminator: info
oas2-valid-schema-example: info
oas2-valid-media-example: info
oas2-schema: off
oas2-api-host: info
oas2-api-schemes: info
oas3-valid-media-example: info
oas3-valid-schema-example: info
oas3-schema: off
oas3-api-servers: info
operation-description: off