Skip to content

Commit 5bc3d40

Browse files
authored
fix: bump redocly/cli (#178)
1 parent 6245752 commit 5bc3d40

File tree

1 file changed

+4
-2
lines changed
  • scripts/validate-openapi

1 file changed

+4
-2
lines changed

scripts/validate-openapi/run.sh

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ extends:
3939
rules:
4040
operation-4xx-response: off
4141
security-defined: warn
42+
no-identical-paths: warn
43+
operation-parameters-unique: warn
4244
EOF
4345

4446
# Limiting the depth limits the risk of (irrelevant) `openapi.yaml` files being found in eg. `_gomodcache` or `node_modules`
4547
IFS=$'\n' files=($(find . -maxdepth 3 -name openapi.yaml))
4648

4749
for f in ${files[@]}; do
48-
npx @redocly/cli@1.0.2 lint --extends=minimal "$f"
50+
npx @redocly/cli lint "$f"
4951
done
5052

51-
npx @redocly/cli@1.0.2 bundle --dereferenced --ext json --output openapi.json $(echo ${files})
53+
npx @redocly/cli bundle --dereferenced --ext json --output openapi.json $(echo ${files})

0 commit comments

Comments
 (0)