Skip to content

Commit 2bb150b

Browse files
authored
Minor improvements to Kotlin Spring Boot generator (OpenAPITools#918)
* minor improvement to kotlin sprinbboot generator * add dr4ke616 to tech comm, add zalando to company list
1 parent f16ab8d commit 2bb150b

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
4242

4343
| | Languages/Frameworks |
4444
|-|-|
45-
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C#** (.net 2.0, 3.5 or later), **C++** (cpprest, Qt5, Tizen), **Clojure**, **Dart**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured), **Kotlin**, **Lua**, **Node.js** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types) **Objective-C**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x), **Typescript** (AngularJS, Angular (2.x - 6.x), Aurelia, Fetch, Inversify, jQuery, Node)
46-
**Server stubs** | **Ada**, **C#** (ASP.NET Core, NancyFx), **C++** (Pistache, Restbed), **Erlang**, **Go**, **Haskell** (Servant), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples)), **Kotlin**, **PHP** (Lumen, Slim, Silex, [Symfony](https://symfony.com/), [Zend Expressive](https://github.com/zendframework/zend-expressive)), **Python** (Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** (rust-server), **Scala** ([Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), Scalatra)
45+
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C#** (.net 2.0, 3.5 or later), **C++** (cpprest, Qt5, Tizen), **Clojure**, **Dart**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client), **Kotlin**, **Lua**, **Node.js** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types) **Objective-C**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x), **Typescript** (AngularJS, Angular (2.x - 6.x), Aurelia, Fetch, Inversify, jQuery, Node)
46+
**Server stubs** | **Ada**, **C#** (ASP.NET Core, NancyFx), **C++** (Pistache, Restbed), **Erlang**, **Go**, **Haskell** (Servant), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples)), **Kotlin** (Spring Boot), **PHP** (Laravel, Lumen, Slim, Silex, [Symfony](https://symfony.com/), [Zend Expressive](https://github.com/zendframework/zend-expressive)), **Python** (Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** (rust-server), **Scala** ([Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), Scalatra)
4747
**API documentation generators** | **HTML**, **Confluence Wiki**
4848
**Configuration files** | [**Apache2**](https://httpd.apache.org/)
4949
**Others** | **JMeter**
@@ -477,6 +477,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
477477
- [Suva](https://www.suva.ch/)
478478
- [Telstra](https://dev.telstra.com)
479479
- [unblu inc.](https://www.unblu.com/)
480+
- [Zalando](https://www.zalando.com)
480481

481482
## [5 - Presentations/Videos/Tutorials/Books](#table-of-contents)
482483

@@ -577,6 +578,7 @@ Here is a list of template creators:
577578
* JAX-RS CXF (CDI): @nickcmaynard
578579
* JAX-RS RestEasy (JBoss EAP): @jfiala
579580
* Kotlin: @jimschubert
581+
* Kotlin (Spring Boot): @dr4ke616
580582
* PHP Laravel: @renepardon
581583
* PHP Lumen: @abcsun
582584
* PHP Slim: @jfastnacht
@@ -640,7 +642,7 @@ If you want to join the committee, please kindly apply by sending an email to te
640642
| Groovy | |
641643
| Haskell | |
642644
| Java | @bbdouglas (2017/07) @JFCote (2017/08) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) |
643-
| Kotlin | @jimschubert (2017/09) |
645+
| Kotlin | @jimschubert (2017/09) @dr4ke616 (2018/08) |
644646
| Lua | @daurnimator (2017/08) |
645647
| NodeJS/Javascript | @CodeNinjai (2017/07) @frol (2017/07) @cliffano (2017/07) |
646648
| ObjC | |

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinSpringServerCodegen.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.openapitools.codegen.languages;
218

319
import com.google.common.collect.ImmutableMap;

modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ org.openapitools.codegen.languages.GoServerCodegen
2929
org.openapitools.codegen.languages.GroovyClientCodegen
3030
org.openapitools.codegen.languages.KotlinClientCodegen
3131
org.openapitools.codegen.languages.KotlinServerCodegen
32+
org.openapitools.codegen.languages.KotlinSpringServerCodegen
3233
org.openapitools.codegen.languages.HaskellHttpClientCodegen
3334
org.openapitools.codegen.languages.HaskellServantCodegen
3435
org.openapitools.codegen.languages.JavaClientCodegen
@@ -90,5 +91,4 @@ org.openapitools.codegen.languages.TypeScriptAureliaClientCodegen
9091
org.openapitools.codegen.languages.TypeScriptFetchClientCodegen
9192
org.openapitools.codegen.languages.TypeScriptInversifyClientCodegen
9293
org.openapitools.codegen.languages.TypeScriptJqueryClientCodegen
93-
org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
94-
org.openapitools.codegen.languages.KotlinSpringServerCodegen
94+
org.openapitools.codegen.languages.TypeScriptNodeClientCodegen

0 commit comments

Comments
 (0)