From ef0f0176e3578971937de1284092ea6d9a74d049 Mon Sep 17 00:00:00 2001 From: xavi Date: Mon, 18 Sep 2023 15:00:00 +0200 Subject: [PATCH] fix(openapi): use redocli @1.0.2 (#166) --- scripts/validate-openapi/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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})