mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
54d7e8c488
* [CLI] Initial implementation for batch generation Allows for generating multiple outputs via config. Just specify multiple config files on command line. Intent for this is to reduce CI times to generate outputs as well as to reduce time for users to run ensure-up-to-date to meet PR standards. Example command: openapi-generator batch --includes-base-dir `pwd` --fail-fast -- bin/ci/* --- As part of this implementation, the batch command support a customized JSON key, `!include`. If this key's value refers to an existing file, that file's contents are "unwrapped" into the config during deserialization. This allows us to easily point to the same configs used by our sample scripts without modifying the CLI generate task's switches or assumptions. * Allow for path-relative outputs * Add batch JSON objects * Include INFO log about threads used and includes/root * Ensure GlobalSettings.reset() * Improved thread-safety of ModelUtils
11 lines
400 B
JSON
11 lines
400 B
JSON
{
|
|
"artifactId": "kotlin-client-petstore-multiplatform",
|
|
"generatorName": "kotlin",
|
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
|
"outputDir": "samples/client/petstore/kotlin-multiplatform",
|
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
|
"library": "multiplatform",
|
|
"additionalProperties": {
|
|
"dateLibrary": "java8"
|
|
}
|
|
} |