forked from loafle/openapi-generator-original
7 lines
378 B
Bash
Executable File
7 lines
378 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
export CLASSPATH="$DIR/../target/lib/*:$DIR/../target/*"
|
|
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties -DfileMap=samples/client/wordnik-api/spec-files"
|
|
java -cp $CLASSPATH $JAVA_OPTS "$@" SwaggerDocGenerator http://developer.wordnik.com/v4/resources.json ""
|