forked from loafle/openapi-generator-original
set to petstore
This commit is contained in:
parent
707ee1c85b
commit
05db83a067
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user