forked from loafle/openapi-generator-original
* first pass * Fix extra new line * adding generator file * Run new.sh script * Fix template directory and ignore failing tests * fixing up content type * adding controller impl * cleanup interface * typo * removing bodytype * adding protos * fixing 2 * Fix headerParamsSimple * removing protos etc. * fixing imports * removing commented code * fixing imports * fixing return * fixing file * adding comment * remove adminapi * move to jakarta * reverting break * fixing httpMethods * pushing mediaTypes * Adds gradle mustache templates * Setup simple build.gradle.kts * Adds basic model.mustache for model generation * fixing summary * fixing summary 2 * Removes unnecesssary line * fixing return type * fixing override * fixing httpcall * Delete proto folder creation * fixing return type * fixing void return type * fixing space * removing reactive * removing imports * Fixing spacing * Fixing tabbing * fixing headers * add comment * Adds unit tests * cleanup * Correct getHelp() description * cleanup 2 * removiing pathParams files * fixup * fixup 3 * removing more files * Adds GitHub Workflow generation * removing form params as not required * Adds tests for OptionsProvider * Renamed file to match * remove whitespace * remove whitespace * adding documentation * adding documentation * removing swagger annotations * adding tests * Adds Guice Module * Grab OpenAPI title to generate module name * Revert "Grab OpenAPI title to generate module name" This reverts commit 9c9b935f5dbee6e0974ebf66b4f611f107df70c2. * Update sample * Removes moduleFileName additional property * adding tests * adding tests 2 * adding tests 3 * adding tests 4 * added media types * re-adding tests * fixing camelcase * fixing mediatypes * default mediatype * adding validation * adding validation * removing swagger * adding gradle dependency * adding gradle dependency * fixing types * fixing return types * fixing tests * final fixes * tweaks * fixing file etc. * Update samples/ folder * fixing jakarta * fixing jakarta 2 * fixing impl * Fix unit tests * fixing jakarta * fixing jakarta 2 * final final final changes * Fix initialization of BigDecimal for default values * update samples, docs * fixing RequestHeader * fixing RequestHeader 2 * fixing RequestHeader 2 * add validateSpec=false * fix pom version --------- Co-authored-by: Guido Arnau <guido@squareup.com> Co-authored-by: William Cheng <wing328hk@gmail.com>
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/