Commit 981cc061 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: change links

parent 895ae850
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.

It uses the following variable:

| Name                  | Description                              | Default value     |
| --------------------- | ---------------------------------------- | ----------------- |
| `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_ |


+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
    },
    {
      "name": "SPECTRAL_EXTRA_ARGS",
      "description": "Extra Spectral CLI [options](https://meta.stoplight.io/docs/spectral/docs/guides/2-cli.md)",
      "description": "Extra Spectral CLI [options](https://docs.stoplight.io/docs/spectral/docs/guides/2-cli.md)",
      "advanced": true
    },
    {