mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-11 18:49:09 +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.
963 B
963 B
openAPIPetstore
This Kotlin based Spring Boot application has been generated using the OpenAPI Generator.
Getting Started
This document assumes you have either maven or gradle available, either via the wrapper or otherwise. This does not come with a gradle / maven wrapper checked in.
By default a pom.xml file will be generated. If you specified gradleBuildFile=true when generating this project, a build.gradle.kts will also be generated. Note this uses Gradle Kotlin DSL.
To build the project using maven, run:
mvn package && java -jar target/openapi-spring-1.0.0.jar
To build the project using gradle, run:
gradle build && java -jar build/libs/openapi-spring-1.0.0.jar
If all builds successfully, the server should run on http://localhost:8080/