mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Change path wildcard
This commit is contained in:
@@ -55,7 +55,7 @@ npm install -g @stoplight/spectral
|
|||||||
yarn global add @stoplight/spectral
|
yarn global add @stoplight/spectral
|
||||||
```
|
```
|
||||||
|
|
||||||
Once installed, to verify your OAS file with spectral execute `spectral lint <oas-file> -r path/.spectral.yaml` where `path/.spectral.yaml` indicated the location `.spectral.yaml` file.
|
Once installed, to verify your OAS file with spectral execute `spectral lint <oas-file> -r <adidas-api-guidelines-folder>/.spectral.yaml` where `<adidas-api-guidelines-folder>/.spectral.yaml` indicated the location `.spectral.yaml` file.
|
||||||
|
|
||||||
For further documentation on Spectral refer to their [documentation](https://stoplight.io/p/docs/gh/stoplightio/spectral/README.md).
|
For further documentation on Spectral refer to their [documentation](https://stoplight.io/p/docs/gh/stoplightio/spectral/README.md).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user