mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Merge pull request #26 from adidas/ruleset-naming
Get example inline with rules naming change
This commit is contained in:
@@ -68,7 +68,7 @@ Spectral defines 4 levels of problem severity:
|
||||
Currently any problem of severity of error or warning will cause a failure status code of `1`. This means that any `error` or `warning` in your specification will prevent your CI/CD pipeline from succeeding. During design process you may want to ignore certain warnings, such as the runtime information (e.g. `hosts` or `servers`). In order to do that you can add a `--skip-rule` flag:
|
||||
|
||||
```
|
||||
spectral lint my-api-spec.yaml --skip-rule=protocol-https-only-oas3
|
||||
spectral lint my-api-spec.yaml --skip-rule=adidas-oas3-protocol-https-only
|
||||
```
|
||||
|
||||
## Spectral rules list
|
||||
|
||||
Reference in New Issue
Block a user