From 4e34a4d5ffb458ab4eff51de65fd8adf29526246 Mon Sep 17 00:00:00 2001 From: xavi Date: Fri, 15 Sep 2023 17:21:36 +0200 Subject: [PATCH] fix(openapi): replace swagger-cli with redocly --- scripts/validate-openapi/run.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/validate-openapi/run.sh b/scripts/validate-openapi/run.sh index 87d8d69..b5def27 100644 --- a/scripts/validate-openapi/run.sh +++ b/scripts/validate-openapi/run.sh @@ -45,11 +45,7 @@ EOF IFS=$'\n' files=($(find . -maxdepth 3 -name openapi.yaml)) for f in ${files[@]}; do - npx @apidevtools/swagger-cli validate "$f" -done - -for f in ${files[@]}; do - npx @redocly/cli lint "$f" + npx @redocly/cli lint --extends=minimal "$f" done npx @redocly/cli bundle --dereferenced --ext json --output openapi.json $(echo ${files})