mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
Output to the openapi3 foler
This commit is contained in:
parent
f526c33516
commit
a7a0fe0440
@ -25,13 +25,13 @@ then
|
||||
fi
|
||||
|
||||
# cleanup tests
|
||||
TEST_DIR="./samples/client/petstore/php/SwaggerClient-php/test"
|
||||
TEST_DIR="./samples/openapi3/client/petstore/php/SwaggerClient-php/test"
|
||||
if [ -d $TEST_DIR ]; then
|
||||
rm -rf $TEST_DIR
|
||||
fi
|
||||
|
||||
# if you've executed sbt assembly previously it will use that instead.
|
||||
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/php -i modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml -l php -o samples/client/petstore/php $@"
|
||||
ags="generate -t modules/openapi-generator/src/main/resources/php -i modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml -l php -o samples/openapi3/client/petstore/php $@"
|
||||
|
||||
java $JAVA_OPTS -jar $executable $ags
|
||||
|
Loading…
Reference in New Issue
Block a user