mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
change spectral call example
This commit is contained in:
@@ -55,7 +55,7 @@ npm install -g @stoplight/spectral
|
||||
yarn global add @stoplight/spectral
|
||||
```
|
||||
|
||||
Once installed, to verify your OAS file with spectral execute `spectral lint PATH_TO_YOUR_OAS` having the `.spectral.yaml` file inside the directory from which you are calling the command.
|
||||
Once installed, to verify your OAS file with spectral execute `spectral lint <oas-file>` having the `.spectral.yaml` file inside the directory from which you are calling the command.
|
||||
|
||||
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