You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
openapi-generator-jar is ignoring the --custom-generator= option and trying to download the openapi-generator jar instead #989
but when I try --custom-generator=/workspace/openapi-generator/openapi-generator-6.6.0.jar , the cli tries to download the jar instead
The jar exists in the named location:
# ls -al /workspace/api-defs/bin/openapi-generator/openapi-generator-6.6.0.jar
-rw-r--r-- 1 user user 6134461 Aug 15 17:50 /workspace/api-defs/bin/openapi-generator/openapi-generator-6.6.0.jar
The full command I'm using with openapi-generator-cli is shown below
but instead of using /workspace/openapi-generator/openapi-generator-6.6.0.jar as requested, the CLI tries to download the jar:
Download 6.6.0 ...
which then seems to hang (which is why we've made a copy of the jar, so our Jenkins CI build does not time out downloading the jar -- we need deterministic builds and dependencies in CI builds)
Expected behavior
Use the named custom generator, not try to download the jar
Operation System (please complete the following information):
OS: Linux
Version inux d72252143456 6.10.14-linuxkit
Package System (please complete the following information):
Version @openapitools/openapi-generator-cli@2.13.4
Activity