File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ BASE_PACKAGE="cromwell.client"
44
55ORIGINAL_API_YAML=engine/src/main/resources/swagger/cromwell.yaml
66API_YAML=codegen_java/cromwell.nofile.yaml
7+ OPENAPI_DOCKER=" openapitools/openapi-generator-cli@sha256:ddd1b01cbe8f494c6612c548e91f983938164ab713a4d18d099a1fc4a77c651d"
78
89# Cromwell doesn't specify the OAuth configuration in its swagger, and
910# without it the client doesn't support authentication.
@@ -37,7 +38,7 @@ cat $ORIGINAL_API_YAML | sed s/type:\ file/type:\ string/g >> $API_YAML
3738# generator's build.sbt with ours.
3839# 1. Hide our build.sbt
3940mv codegen_java/build.sbt codegen_java/build.sbt.bak
40- docker run --rm -v ${PWD} :/local openapitools/openapi-generator-cli generate \
41+ docker run --rm -v ${PWD} :/local ${OPENAPI_DOCKER} generate \
4142 -i /local/$API_YAML \
4243 -g java \
4344 -o /local/codegen_java \
You can’t perform that action at this time.
0 commit comments