forked from loafle/openapi-generator-original
* feat(r): Added handling exception with ApiException class and document generation * feat(r):enhancements to exception handling and documentation * fix(r): fixes and reverting the man folder * fix(r): minor fix of import statement * fix(r): generated the docs file * fix(r) minor doc casing fixes
11 lines
467 B
Batchfile
Executable File
11 lines
467 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 -g r -o samples\client\petstore\R --additional-properties packageName=petstore,returnExceptionOnFailure=false,exceptionPackage=default
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|