From 3d0007b9201e5ace36939009cd07737c392a4488 Mon Sep 17 00:00:00 2001 From: solanfel Date: Thu, 7 Apr 2022 11:07:29 +0200 Subject: [PATCH] Add working version --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d10386d..f716741 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,14 @@ In the `ruleset.md` file you can find a digest of API Guidelines rules which you To install Spectral you will need Node.js and a package manager (npm or yarn). +Note: The version used with the spectal specifictions was 5.3.0 + ``` -npm install -g @stoplight/spectral +npm install -g @stoplight/spectral@5.3.0 # OR -yarn global add @stoplight/spectral +yarn global add @stoplight/spectral@5.3.0 ``` Once installed, to verify your OAS file with spectral execute `spectral lint -r /.spectral.yaml` where `/.spectral.yaml` indicated the location `.spectral.yaml` file.