Fixing swagger API version, updating to use old 3.0.46 as version 3.0.47 does not appear to running correctly.

This commit is contained in:
mike12345567 2023-10-02 13:53:58 +01:00
parent cf4591597c
commit fc62edf4cc
1 changed files with 2 additions and 2 deletions

View File

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