diff --git a/bin/java-petstore.sh b/bin/java-petstore.sh index 2f9fb5c615d..f29966267b1 100755 --- a/bin/java-petstore.sh +++ b/bin/java-petstore.sh @@ -23,7 +23,7 @@ SCALA_RUNNER_VERSION=$(scala ./bin/Version.scala) # 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="$@ samples/client/petstore/java/JavaPetstoreCodegen.scala http://localhost:8002/api/api-docs special-key" +ags="$@ samples/client/petstore/java/JavaPetstoreCodegen.scala http://petstore.swagger.wordnik.com/api/api-docs special-key" if [ -f $APP_DIR/target/scala-$SCALA_RUNNER_VERSION/*.jar ]; then scala -cp $APP_DIR/target/scala-$SCALA_RUNNER_VERSION/*.jar $ags