We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9046bc8 + 79378e8 commit e59a9cfCopy full SHA for e59a9cf
docker-entrypoint.sh
@@ -10,7 +10,7 @@ cli="${GEN_DIR}/modules/swagger-codegen-cli"
10
codegen="${cli}/target/swagger-codegen-cli.jar"
11
cmdsrc="${cli}/src/main/java/io/swagger/codegen/cmd"
12
13
-pattern="@Command(name = \"$1\""
+pattern="${1^} implements Runnable"
14
if expr "x$1" : 'x[a-z][a-z-]*$' > /dev/null && fgrep -qe "$pattern" "$cmdsrc"/*.java || expr "$1" = 'help' > /dev/null; then
15
# If ${GEN_DIR} has been mapped elsewhere from default, and that location has not been built
16
if [[ ! -f "${codegen}" ]]; then
0 commit comments