diff --git a/scripts/validate-openapi/run.sh b/scripts/validate-openapi/run.sh index b5def27..557ef19 100644 --- a/scripts/validate-openapi/run.sh +++ b/scripts/validate-openapi/run.sh @@ -45,7 +45,7 @@ EOF IFS=$'\n' files=($(find . -maxdepth 3 -name openapi.yaml)) for f in ${files[@]}; do - npx @redocly/cli lint --extends=minimal "$f" + npx @redocly/cli@1.0.2 lint --extends=minimal "$f" done -npx @redocly/cli bundle --dereferenced --ext json --output openapi.json $(echo ${files}) +npx @redocly/cli@1.0.2 bundle --dereferenced --ext json --output openapi.json $(echo ${files})