File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ set -eou pipefail
44echo " Running FOAS CLI versions command"
55foascli versions -s openapi-foas.json -o ./openapi/v2/versions.json --env " ${target_env:? } " --stability-level stable
66
7- echo " Running FOAS CLI versions command for preview"
8- foascli versions -s openapi-foas.json -o ./openapi/preview/versions.json --env " ${target_env:? } " --stability-level preview
9-
107echo " Running FOAS CLI split command with the following --env=${target_env:? } and -o=./openapi/v2/openapi.json"
118
129foascli split -s openapi-foas.json --env " ${target_env:? } " -o ./openapi/v2/openapi.json
@@ -16,5 +13,4 @@ foascli split -s openapi-foas.yaml --env "${target_env:?}" -o ./openapi/v2/opena
1613mv -f " openapi-foas.yaml" " ./openapi/v2.yaml"
1714
1815echo " Moving preview files to preview and private-preview folder"
19- find ./openapi/v2 -type f -name " *private-preview*" -exec mv -f {} ./openapi/private-preview/ \;
20- find ./openapi/v2 -type f -name " *preview*" -exec mv -f {} ./openapi/preview/ \;
16+ find ./openapi/v2 -type f -name " *private-preview*" -exec mv -f {} ./openapi/private/ \;
You can’t perform that action at this time.
0 commit comments