forked from loafle/openapi-generator-original
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:
parent
34409bc0d8
commit
fbd4411b22
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT="$0"
|
SCRIPT="$0"
|
||||||
echo "# START SCRIPT: $SCRIPT"
|
echo "# START SCRIPT: $SCRIPT"
|
||||||
|
@ -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
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user