mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-02-26 12:29:08 +00:00
* remove "async" and "responseWrapper" from template as these are not supported by kotlin-spring generator * try to force pipelines rerun * force pipelines rerun * fix mustache to keep generated code identical * Revert "fix mustache to keep generated code identical" This reverts commitc573b43401. * Reapply "fix mustache to keep generated code identical" This reverts commit2c3b065c5c. * Add support for 'useResponseEntity' in kotlin-spring. Consolidate with the separate flag 'declarativeInterfaceWrapResponses' as these can now be controlled both by one flag. Default to true. * fix status annotation and add compile-test samples * satisfy samples-up-to-date check * add unit tests covering both reactive and non-reactive * fix template to avoid unnecessary empty line * fix template to avoid unnecessary empty line * put method params (if present) on separate lines to improve readability * put method params (if present) on separate lines to improve readability; fix double spaces, spaces before comma, incorrect spaces * fix test * store PATHs as accesible strings in companion objects. * fix missing import * fix incorrect import * fix fallback to nested placeholders.
16 lines
555 B
YAML
16 lines
555 B
YAML
generatorName: kotlin-spring
|
|
outputDir: samples/server/petstore/kotlin-spring-declarative-interface
|
|
library: spring-declarative-http-interface
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-spring
|
|
additionalProperties:
|
|
documentationProvider: springDoc
|
|
annotationLibrary: swagger2
|
|
useSwaggerUI: "false"
|
|
serializableModel: "true"
|
|
beanValidations: "true"
|
|
interfaceOnly: true
|
|
reactive: false
|
|
useResponseEntity: true
|
|
useFlowForArrayReturnType: false
|