Merge pull request #11946 from Budibase/fix/swaggerapi-version

Dropping swagger API docker image version to 3.0.46
This commit is contained in:
Michael Drury 2023-10-02 14:32:37 +01:00 committed by GitHub
commit e9520043cb
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ docker run --rm \
-v ${PWD}/generated:/generated \ -v ${PWD}/generated:/generated \
-v ${PWD}/config.json:/config.json \ -v ${PWD}/config.json:/config.json \
-u $(id -u):$(id -g) \ -u $(id -u):$(id -g) \
swaggerapi/swagger-codegen-cli-v3 generate \ swaggerapi/swagger-codegen-cli-v3:3.0.46 generate \
-i /openapi.yml \ -i /openapi.yml \
-l javascript \ -l javascript \
-o /generated \ -o /generated \
@ -34,4 +34,4 @@ if [[ -f "openapi.yaml" ]]; then
fi fi
if [[ -d "generated" ]]; then if [[ -d "generated" ]]; then
rm -r generated rm -r generated
fi fi