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:
parent
cf4591597c
commit
fc62edf4cc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue