change spectral call example

This commit is contained in:
Andrzej
2019-12-02 15:09:10 +01:00
committed by GitHub
parent c20b100fb5
commit 055fdaba91

View File

@@ -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).