From 336d8556e64d5cc914dcbd8eb9626f51f8120bea Mon Sep 17 00:00:00 2001 From: xavi Date: Thu, 18 Apr 2024 10:56:44 +0200 Subject: [PATCH] fix: bump redocly/cli --- scripts/validate-openapi/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 scripts/validate-openapi/run.sh diff --git a/scripts/validate-openapi/run.sh b/scripts/validate-openapi/run.sh old mode 100644 new mode 100755 index 557ef19..102840f --- a/scripts/validate-openapi/run.sh +++ b/scripts/validate-openapi/run.sh @@ -39,13 +39,15 @@ extends: rules: operation-4xx-response: off security-defined: warn + no-identical-paths: warn + operation-parameters-unique: warn EOF # Limiting the depth limits the risk of (irrelevant) `openapi.yaml` files being found in eg. `_gomodcache` or `node_modules` IFS=$'\n' files=($(find . -maxdepth 3 -name openapi.yaml)) for f in ${files[@]}; do - npx @redocly/cli@1.0.2 lint --extends=minimal "$f" + npx @redocly/cli lint "$f" done -npx @redocly/cli@1.0.2 bundle --dereferenced --ext json --output openapi.json $(echo ${files}) +npx @redocly/cli bundle --dereferenced --ext json --output openapi.json $(echo ${files})