forked from loafle/openapi-generator-original
Use bin/cpp-qt5-petstore.json (#4547)
This commit is contained in:
parent
6e2e542f83
commit
5238597f95
8
bin/cpp-qt5-petstore.json
Normal file
8
bin/cpp-qt5-petstore.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/cpp-qt5",
|
||||||
|
"additionalProperties": {
|
||||||
|
"cppNamespace": "test_namespace",
|
||||||
|
"modelNamePrefix": "PFX"
|
||||||
|
}
|
||||||
|
}
|
@ -30,8 +30,7 @@ export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
|
|||||||
args="generate -t modules/openapi-generator/src/main/resources/cpp-qt5-client \
|
args="generate -t modules/openapi-generator/src/main/resources/cpp-qt5-client \
|
||||||
-i modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
|
-i modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
|
||||||
-g cpp-qt5-client \
|
-g cpp-qt5-client \
|
||||||
--additional-properties=cppNamespace=test_namespace \
|
-c cpp-qt5-petstore.json \
|
||||||
--additional-properties=modelNamePrefix=PFX \
|
$@"
|
||||||
-o samples/client/petstore/cpp-qt5 $@"
|
|
||||||
|
|
||||||
java $JAVA_OPTS -jar $executable $args
|
java $JAVA_OPTS -jar $executable $args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user