fix export_generator shell script (#1223)

* fix export_generator shell script

* fix script with bash

* use bash instead of sh
This commit is contained in:
Dec12 | Fujigon 2018-10-14 22:11:59 +09:00 committed by William Cheng
parent 34409bc0d8
commit fbd4411b22
16 changed files with 131 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
SCRIPT="$0" SCRIPT="$0"
echo "# START SCRIPT: $SCRIPT" echo "# START SCRIPT: $SCRIPT"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
SCRIPT="$0" SCRIPT="$0"
echo "# START SCRIPT: $SCRIPT" echo "# START SCRIPT: $SCRIPT"
@ -12,6 +12,6 @@ fi
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar" executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
java -jar $executable config-help -g $NAME | sed -e 's/CONFIG OPTIONS/CONFIG OPTIONS for \'$NAME'\'$'\n''/g' > docs/generators/$NAME.md java -jar $executable config-help -g $NAME | sed -e 's/CONFIG OPTIONS/CONFIG OPTIONS for '$NAME'\'$'\n''/g' > docs/generators/$NAME.md
echo "Back to the [generators list](README.md)" >> docs/generators/$NAME.md echo "Back to the [generators list](README.md)" >> docs/generators/$NAME.md

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for groovy
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
configPackage configPackage
configuration package for generated code configuration package for generated code

View File

@ -104,4 +104,13 @@ CONFIG OPTIONS for java-inflector
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for java-msf4j
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for java-pkmst
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
groupId groupId
groupId in generated pom.xml groupId in generated pom.xml

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for java-play-framework
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
title title
server title name or client service name server title name or client service name

View File

@ -104,4 +104,13 @@ CONFIG OPTIONS for java-undertow-server
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for java-vertx
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
rxInterface rxInterface
When specified, API interfaces are generated with RX and methods return Single<> and Comparable. (Default: false) When specified, API interfaces are generated with RX and methods return Single<> and Comparable. (Default: false)

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-cxf-cdi
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-cxf-client
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
useBeanValidation useBeanValidation
Use BeanValidation API annotations (Default: false) Use BeanValidation API annotations (Default: false)

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-cxf
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-jersey
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-resteasy-eap
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-resteasy
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code

View File

@ -104,6 +104,15 @@ CONFIG OPTIONS for jaxrs-spec
booleanGetterPrefix booleanGetterPrefix
Set booleanGetterPrefix (default value 'get') Set booleanGetterPrefix (default value 'get')
parentGroupId
parent groupId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentArtifactId
parent artifactId in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
parentVersion
parent version in generated pom N.B. parentGroupId, parentArtifactId and parentVersion must all be specified for any of them to take effect
implFolder implFolder
folder for generated implementation code folder for generated implementation code