File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22set -eou pipefail
33
44echo " Running FOAS CLI versions command"
5- foascli versions -s openapi-foas.json -o ./openapi/v2/versions.json --env " ${target_env:? } "
5+ foascli versions -s openapi-foas.json -o ./openapi/v2/versions.json --env " ${target_env:? } " --stability-level stable
66
77echo " Running FOAS CLI split command with the following --env=${target_env:? } and -o=./openapi/v2/openapi.json"
88
@@ -11,3 +11,6 @@ mv -f "openapi-foas.json" "./openapi/v2.json"
1111
1212foascli split -s openapi-foas.yaml --env " ${target_env:? } " -o ./openapi/v2/openapi.yaml
1313mv -f " openapi-foas.yaml" " ./openapi/v2.yaml"
14+
15+ echo " Moving preview files to preview and private-preview folder"
16+ find ./openapi/v2 -type f -name " *private-preview*" -exec mv -f {} ./openapi/private/ \;
Original file line number Diff line number Diff line change 1+ []
You can’t perform that action at this time.
0 commit comments