openapi-generator/bin/windows/cpp-qt5-qhttpengine-server-petstore.bat

11 lines
381 B
Batchfile
Raw Normal View History

set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
If Not Exist %executable% (
mvn clean package
)
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g cpp-qt5-qhttpengine-server -o samples\server\petstore\cpp-qt5-qhttpengine-server
java %JAVA_OPTS% -jar %executable% %ags%