We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6245752 commit 5bc3d40Copy full SHA for 5bc3d40
scripts/validate-openapi/run.sh
100644
100755
@@ -39,13 +39,15 @@ extends:
39
rules:
40
operation-4xx-response: off
41
security-defined: warn
42
+ no-identical-paths: warn
43
+ operation-parameters-unique: warn
44
EOF
45
46
# Limiting the depth limits the risk of (irrelevant) `openapi.yaml` files being found in eg. `_gomodcache` or `node_modules`
47
IFS=$'\n' files=($(find . -maxdepth 3 -name openapi.yaml))
48
49
for f in ${files[@]}; do
- npx @redocly/cli@1.0.2 lint --extends=minimal "$f"
50
+ npx @redocly/cli lint "$f"
51
done
52
-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