mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-18 21:27:10 +00:00
update R default value, clean up old R files, add window batch for (#415)
openapi3
This commit is contained in:
10
bin/windows/openapi3/r-petstore.bat
Executable file
10
bin/windows/openapi3/r-petstore.bat
Executable file
@@ -0,0 +1,10 @@
|
||||
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\3_0\petstore.yaml -l r -o samples\client\petstore\R
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
@@ -5,6 +5,6 @@ If Not Exist %executable% (
|
||||
)
|
||||
|
||||
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 r -o samples\client\petstore\r
|
||||
set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -l r -o samples\client\petstore\R
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
||||
|
||||
Reference in New Issue
Block a user