Output to the openapi3 foler

This commit is contained in:
akihito.nakano 2018-03-29 19:28:32 +09:00
parent f526c33516
commit a7a0fe0440

View File

@ -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