Skip to content

Commit 6ec1e90

Browse files
committed
chore: update readme with local run info
1 parent 83d55ea commit 6ec1e90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/spectral/ipa/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ The IPA validation uses [Spectral](https://docs.stoplight.io/docs/spectral/9ffa0
2424

2525
### Run Validation
2626

27-
To run the IPA validation locally, install necessary dependencies with `npm install` if you haven't already. Then, simply run:
27+
To run the IPA validation locally, install necessary dependencies with `npm install` if you haven't already. Then (from `/openapi/tools/spectral/ipa/metrics/scripts/`), simply run:
2828

2929
```
3030
npm run ipa-validation
3131
```
3232

33-
This command will run Spectral CLI for the ruleset [ipa-spectral.yaml](https://github.com/mongodb/openapi/blob/main/tools/spectral/ipa/ipa-spectral.yaml) on the raw [v2.yaml](https://github.com/mongodb/openapi/blob/main/openapi/.raw/v2.yaml) OpenAPI spec.
33+
This command will run Spectral CLI for the ruleset [ipa-spectral.yaml](https://github.com/mongodb/openapi/blob/main/tools/spectral/ipa/ipa-spectral.yaml) on the raw [v2.yaml](https://github.com/mongodb/openapi/blob/main/openapi/.raw/v2.yaml) OpenAPI spec and generate .
3434

3535
## Integrating IPA Validations
3636

0 commit comments

Comments
 (0)