@@ -26,14 +26,14 @@ The Spectral template uses some global configuration used throughout all jobs.
### `spectral` job
This job performs a [lint analysis](https://meta.stoplight.io/docs/spectral/docs/guides/2-cli.md) of your API document(s) (OpenAPI, AsyncAPI...), mapped to the `build` stage.
This job performs a [lint analysis](https://docs.stoplight.io/docs/spectral/docs/guides/2-cli.md) of your API document(s) (OpenAPI, AsyncAPI...), mapped to the `build` stage.
| `SPECTRAL_DOCUMENTS` | Location of JSON/YAML documents to be linted. Can be either a file, a glob or fetchable resource(s) on the web | `{,api/,src/main/resources/}*{openapi,oas,swagger,asyncapi}*.{json,yml,yaml}`<br><br>see [glob syntax](https://github.com/mrmlnc/fast-glob#basic-syntax) for more details |
| `SPECTRAL_EXTRA_ARGS` | Extra arguments for the [Spectral CLI](https://meta.stoplight.io/docs/spectral/docs/guides/2-cli.md) | _none_ |
| `SPECTRAL_EXTRA_ARGS` | Extra arguments for the [Spectral CLI](https://docs.stoplight.io/docs/spectral/docs/guides/2-cli.md) | _none_ |
| `SPECTRAL_DISABLED` | Set to `true` to disable this job | _none_ |