mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
a8642dbdfc
* Issue #4680 correct values for enum with escaped double quotes * Issue #4680 regenerate samples * Issue #4680 remove new lines * Issue #4680 fixed scripts * Issue #4680 update samples under CentOS
11 lines
490 B
Batchfile
11 lines
490 B
Batchfile
set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar
|
|
|
|
If Not Exist %executable% (
|
|
mvn clean package
|
|
)
|
|
|
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l spring --library=spring-mvc -o samples\server\petstore\spring-mvc-j8-async -c bin\spring-mvc-petstore-j8-async.json -DhideGenerationTimestamp=true
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|