mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
8689227b3e
* Kotlin Spring initial bootstrap * Basic configuration construction for Kotlin Spring * Wired up with comand line client * Initial kotlin spring boot application generated using gradle kotlin-dsl * Added basic support for generating models * Basic controllers generated without endpoints generated * Basic spring boot app generated with models and controllers * Added fix for type mapping in AbstractKotlinCodegen. Originally it was mapping list o kotlin.Array instead of kotlin.collections.List * Fixed return type mapping * Sorted bash springboot petstore generator script * Implemented toVarName in AbstractKotlinCodegen to better handle some edgecases * Checking for reserved words or numerical starting class names in AbstractKotlinCodegen * Implemented toOperationId in AbstractKotlinCodegen * Fixed types that were not correctly being mapped to primitives (byte / arrayOf / mapOf) * Escaping dollar symbols in function names * Added support for outter enum classes * Added basic support for generating services * Removed option for generated config package. Added option to enable/disable generated global exception handler * Added configuration option to generate gradle. Generated maven pom.xml file as default * Fixed up bash scripts for generating test sample code * Added configurable option for Swagger Annotations * Added configurable option for generating service interfaces and service implementations * Added README generation * Enable optional bean validation * Added kotlin spring sample to CircleCI pom.xml * Removed kotlin spring boot from .gitignore * Minor fixes from PR comments for user submission (#1) * Minor fixes from PR comments for user submission * Puts braces around conditional block bodies with one-liner bodies. * Modifies README.mustache to use artifact id and version supplied by user (or default configuration) * Targets templates under resource directory explicitly to prevent the need to rebuild for evaluation of template-only changes. * [kotlin-spring] Remove comments referencing sbt in bash scripts * List of changes based upon code review: * Additional comments around how we set the title based off the open api spec * Fixed missing `beanValidationCore` template * Put the lambdas into the lambda object as other generators do (Ktor, C#, cpp) * Bump swagger-annotations version to latest pre-2.0 version (1.5.21) * Set kotlin version to 1.2.60 * Updated README to set port based on template * Added more additional properties to build bash scripts * Removed `defaultBasePath.mustache` in place of using {{contextPath}} directly * Log warning for when `serviceImplementation` is set t o true * Updated samples * Generating ConstraintViolation Exception Handler, as Springboot doesnt correctly catch the error and return bad request. Handling other exceptions a litle better * Small fix for date time mappings (plus sample re-gen) * Minor fix in README template, where port was using wrong variable * Fix missing jackson-dataformat-xml dependency * Fix build - needed to re-run kotlin-server-petstore.sh * Fixes after merge with master * Revert "Small fix for date time mappings (plus sample re-gen)" This reverts commit 4152dc78b4813da71c675272ca90fb31a333aea1. * Moved type mappings to Kotlin Spring generator * Regenerated samples * Regenerated samples
214 lines
7.1 KiB
Plaintext
214 lines
7.1 KiB
Plaintext
.vscode
|
|
*.iml
|
|
out/
|
|
*.ipr
|
|
*.iws
|
|
*.gpg
|
|
classpath.txt
|
|
version.properties
|
|
!modules/openapi-generator-cli/src/main/resources/version.properties
|
|
.project
|
|
.classpath
|
|
lib/*
|
|
build/*
|
|
generated-files/*
|
|
generated-sources/*
|
|
generated-code/*
|
|
*.swp
|
|
*.swo
|
|
target
|
|
.idea
|
|
.lib
|
|
atlassian-ide-plugin.xml
|
|
.DS_Store
|
|
packages/
|
|
.pub
|
|
.packages
|
|
.vagrant/
|
|
.vscode/
|
|
|
|
.settings
|
|
|
|
*.mustache~
|
|
*.java~
|
|
*.pm~
|
|
*.xml~
|
|
*.t~
|
|
|
|
/target
|
|
/generated-files
|
|
nbactions.xml
|
|
|
|
# scalatra
|
|
samples/server-generator/scalatra/output
|
|
samples/server-generator/scalatra/target
|
|
samples/server-generator/scalatra/output/.history
|
|
|
|
# nodejs
|
|
**/node_modules
|
|
samples/server-generator/node/output/node_modules
|
|
samples/server/petstore/nodejs/node_modules
|
|
samples/server/petstore/nodejs-server/node_modules
|
|
|
|
# qt5 cpp
|
|
*.pro.user
|
|
samples/client/petstore/qt5cpp/PetStore/moc_*
|
|
samples/client/petstore/qt5cpp/PetStore/*.o
|
|
samples/client/petstore/qt5cpp/build-*
|
|
samples/client/petstore/qt5cpp/PetStore/PetStore
|
|
samples/client/petstore/qt5cpp/PetStore/Makefile
|
|
samples/client/petstore/qt5cpp/PetStore/PetStore.pro.user
|
|
|
|
# cpprestsdk
|
|
samples/client/petstore/cpp-restsdk/CMakeCache.txt
|
|
samples/client/petstore/cpp-restsdk/CMakeFiles/
|
|
samples/client/petstore/cpp-restsdk/Makefile
|
|
samples/client/petstore/cpp-restsdk/cmake_install.cmake
|
|
|
|
#Java/Android
|
|
**/.gradle
|
|
samples/client/petstore/java/hello.txt
|
|
samples/client/petstore/java/okhttp-gson/hello.txt
|
|
samples/client/petstore/java/jersey1/hello.txt
|
|
samples/client/petstore/java/jersey2-java8/hello.txt
|
|
samples/client/petstore/java/jersey2/hello.txt
|
|
samples/client/petstore/android/default/hello.txt
|
|
samples/client/petstore/android/volley/.gradle/
|
|
samples/client/petstore/android/volley/build/
|
|
samples/client/petstore/java/jersey2/.gradle/
|
|
samples/client/petstore/java/jersey2/build/
|
|
samples/client/petstore/java/okhttp-gson/.gradle/
|
|
samples/client/petstore/java/okhttp-gson/build/
|
|
samples/client/petstore/java/feign/build/
|
|
samples/client/petstore/java/retrofit/build/
|
|
samples/client/petstore/java/retrofit2/build/
|
|
samples/client/petstore/java/retrofit2/hello.txt
|
|
samples/client/petstore/java/retrofit2rx/build/
|
|
samples/client/petstore/java/default/build/
|
|
samples/client/petstore/scala/build/
|
|
samples/client/petstore/java/resttemplate/hello.txt
|
|
samples/client/petstore/java/retrofit2/hello.txt
|
|
samples/client/petstore/java/feign/hello.txt
|
|
samples/client/petstore/java/jersey2-java6/project/
|
|
samples/client/petstore/java/jersey2-java8/project/
|
|
samples/client/petstore/java/jersey2/project/
|
|
|
|
# Perl
|
|
samples/client/petstore/perl/deep_module_test/
|
|
|
|
# Objc
|
|
samples/client/petstore/objc/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
|
|
samples/client/petstore/objc/default/SwaggerClientTests/Build
|
|
samples/client/petstore/objc/default/SwaggerClientTests/Pods
|
|
samples/client/petstore/objc/default/SwaggerClientTests/SwaggerClient.xcworkspace
|
|
samples/client/petstore/objc/default/SwaggerClientTests/Podfile.lock
|
|
|
|
samples/client/petstore/objc/core-data/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
|
|
samples/client/petstore/objc/core-data/SwaggerClientTests/Build
|
|
samples/client/petstore/objc/core-data/SwaggerClientTests/Pods
|
|
samples/client/petstore/objc/core-data/SwaggerClientTests/SwaggerClient.xcworkspace
|
|
samples/client/petstore/objc/core-data/SwaggerClientTests/Podfile.lock
|
|
|
|
# Swift
|
|
samples/client/petstore/swift/**/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
|
|
samples/client/petstore/swift/**/SwaggerClientTests/SwaggerClient.xcworkspace/xcuserdata
|
|
samples/client/petstore/swift/**/SwaggerClientTests/Pods/
|
|
#samples/client/petstore/swift/**/SwaggerClientTests/Pods/Pods.xcodeproj/xcuserdata
|
|
#samples/client/petstore/swift/**/SwaggerClientTests/Pods/Pods.xcodeproj/xcshareddata/xcschemes
|
|
samples/client/petstore/swift/**/SwaggerClientTests/Podfile.lock
|
|
# Swift3
|
|
samples/client/petstore/swift3/**/SwaggerClientTests/SwaggerClient.xcodeproj/xcuserdata
|
|
samples/client/petstore/swift3/**/SwaggerClientTests/SwaggerClient.xcworkspace/xcuserdata
|
|
#samples/client/petstore/swift3/**/SwaggerClientTests/Pods/
|
|
#samples/client/petstore/swift3/**/SwaggerClientTests/Pods/Pods.xcodeproj/xcuserdata
|
|
#samples/client/petstore/swift3/**/SwaggerClientTests/Pods/Pods.xcodeproj/xcshareddata/xcschemes
|
|
samples/client/petstore/swift3/**/SwaggerClientTests/Podfile.lock
|
|
|
|
# C#
|
|
*.csproj.user
|
|
samples/client/petstore/csharp/SwaggerClient/IO.Swagger.userprefs
|
|
samples/client/petstore/csharp/SwaggerClientTest/.vs
|
|
samples/client/petstore/csharp/SwaggerClientTest/obj
|
|
samples/client/petstore/csharp/SwaggerClientTest/bin
|
|
samples/client/petstore/csharp/SwaggerClientTest/packages
|
|
samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/
|
|
samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/
|
|
samples/client/petstore/csharp/SwaggerClientTest/TestResult.xml
|
|
samples/client/petstore/csharp/SwaggerClientTest/nuget.exe
|
|
samples/client/petstore/csharp/SwaggerClientTest/testrunner/
|
|
samples/client/petstore/csharp/SwaggerClient/.vs
|
|
samples/client/petstore/csharp/SwaggerClient/nuget.exe
|
|
samples/client/petstore/csharp/SwaggerClient/obj
|
|
samples/client/petstore/csharp/SwaggerClient/bin
|
|
samples/client/petstore/csharp/SwaggerClient/obj/Debug/
|
|
samples/client/petstore/csharp/SwaggerClient/bin/Debug/
|
|
samples/client/petstore/csharp/SwaggerClient/packages
|
|
samples/client/petstore/csharp/SwaggerClient/TestResult.xml
|
|
samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.userprefs
|
|
|
|
# Python
|
|
*.pyc
|
|
__pycache__
|
|
samples/client/petstore/python/dev-requirements.txt.log
|
|
samples/client/petstore/python/swagger_client.egg-info/SOURCES.txt
|
|
samples/client/petstore/python/.coverage
|
|
samples/client/petstore/python/.projectile
|
|
samples/client/petstore/python/.venv/
|
|
samples/client/petstore/python-asyncio/.venv/
|
|
samples/client/petstore/python-asyncio/.pytest_cache/
|
|
samples/client/petstore/python-tornado/.venv/
|
|
|
|
# ts
|
|
samples/client/petstore/typescript-node/npm/node_modules
|
|
samples/client/petstore/typescript-node/**/typings
|
|
samples/client/petstore/typescript-angular/**/typings
|
|
samples/client/petstore/typescript-fetch/**/dist/
|
|
samples/client/petstore/typescript-fetch/**/typings
|
|
samples/client/petstore/typescript-angular2/npm/npm-debug.log
|
|
samples/client/petstore/typescript-node/npm/npm-debug.log
|
|
samples/client/petstore/typescript-aurelia/**/dist/
|
|
samples/client/petstore/typescript-angular/tsd-debug.log
|
|
|
|
# aspnetcore
|
|
samples/server/petstore/aspnetcore/.vs/
|
|
effective.pom
|
|
# kotlin
|
|
samples/client/petstore/kotlin/src/main/kotlin/test/
|
|
samples/client/petstore/kotlin-threetenbp/build
|
|
samples/client/petstore/kotlin-string/build
|
|
samples/server/petstore/kotlin-server/ktor/build
|
|
\?
|
|
|
|
# haskell
|
|
.stack-work
|
|
.cabal-sandbox
|
|
cabal.project.local
|
|
|
|
# R
|
|
.Rproj.user
|
|
|
|
# elixir
|
|
samples/client/petstore/elixir/_build/
|
|
samples/client/petstore/elixir/deps/
|
|
samples/client/petstore/elixir/mix.lock
|
|
|
|
# groovy
|
|
samples/client/petstore/groovy/build
|
|
|
|
# erlang
|
|
samples/client/petstore/erlang-client/_build/
|
|
samples/client/petstore/erlang-client/rebar.lock
|
|
samples/server/petstore/erlang-server/_build/
|
|
samples/server/petstore/erlang-server/rebar.lock
|
|
|
|
# dart
|
|
samples/client/petstore/dart/petstore/packages
|
|
samples/client/petstore/dart/flutter_petstore/test/packages
|
|
samples/client/petstore/dart/petstore/test/packages
|
|
|
|
# JS
|
|
samples/client/petstore/javascript/package-lock.json
|
|
|
|
# elm
|
|
samples/client/petstore/elm/index.html
|