bundesAPI / bundesAPI/deutschland
Fix linting with updated spectral version
Open
- Dominant language
- HTML
- Stars
- 1.4k
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Spectral removed auto detection for openAPI schemas. Because of this, the linting fails when no .spectra.yaml is provided.
See: https://github.com/stoplightio/spectral/issues/1796
In the Autobahn repo there is a .spectral.yaml file to account for that.
However, if we do not expect to use custom linting rulesets, we can simply get rid of this extra file by executing this before the linting process:
`echo "extends: spectral:oas" > .spectral.yaml`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.