forked from loafle/openapi-generator-original
* [kotlin] add OffsetDateTime support * [kotlin] serializer add missing import * [kotlin] update pet projects and fix tests * [kotlin] update docs * [kotlin] update pet projects * [kotlin] update date-time * [kotlin] update pet project * [kotlin] update windows script
11 lines
559 B
Batchfile
11 lines
559 B
Batchfile
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 kotlin --artifact-id "kotlin-petstore-string" --additional-properties dateLibrary=string,serializableModel=true,sortParamsByRequiredFlag=false,sortModelPropertiesByRequiredFlag=false -o samples\client\petstore\kotlin-string
|
|
|
|
java %JAVA_OPTS% -jar %executable% %ags%
|