mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
53597764c3
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com> Co-authored-by: Jeremie Bresson <dev@jmini.fr> Co-authored-by: Jim Schubert <james.schubert@gmail.com> Co-authored-by: Martin Delille <martin@phonations.com> Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
11 lines
382 B
Batchfile
Executable File
11 lines
382 B
Batchfile
Executable File
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 -DloggerPath=conf/log4j.properties
|
|
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -l cpp-restsdk -o samples\client\petstore\cpprest
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|