From a53dae370a2f2d0b1e8e71e57c9f51a5fd8a912b Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Thu, 29 Mar 2018 10:42:00 +0900 Subject: [PATCH] Revert "Bump up version of sample spec file" This reverts commit adee16e073577596313db85175b2ae46c272e871. --- bin/php-petstore.sh | 2 +- bin/security/php-petstore.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/php-petstore.sh b/bin/php-petstore.sh index d1d777635b3..a6190a4bb40 100755 --- a/bin/php-petstore.sh +++ b/bin/php-petstore.sh @@ -32,6 +32,6 @@ 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/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l php -o samples/client/petstore/php $@" java $JAVA_OPTS -jar $executable $ags diff --git a/bin/security/php-petstore.sh b/bin/security/php-petstore.sh index 7c1a73680ff..09a0dc8b9f8 100755 --- a/bin/security/php-petstore.sh +++ b/bin/security/php-petstore.sh @@ -32,6 +32,6 @@ 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-security-test.yaml -l php -o samples/client/petstore-security-test/php" +ags="$@ generate -t modules/openapi-generator/src/main/resources/php -i modules/openapi-generator/src/test/resources/2_0/petstore-security-test.yaml -l php -o samples/client/petstore-security-test/php" java $JAVA_OPTS -jar $executable $ags