forked from loafle/openapi-generator-original
Added Kotlin Vert.x client (#13594)
* Initial version of Kotlin Vert.x client * Initial version of Kotlin Vert.x client * Initial version of Kotlin Vert.x client * Fix for parseDateToQueryString issue in vert.x kotlin client * Moved common methods from api to ApiClient in kotlin vert.x client * Fixed issue with absolute URLs * bearer auth for oauth * empty request headers fix * missing import and typo * added uri template dependency * added api abstractions to client generator * added full import form infrastructure * removed fail on unknown properties to response body parsing * fixed error response parsing * replace vertx client name to more unique * multiline content type * optional responses added to template * additional annotations for kotlin client * Added additionalModelTypeAnnotations parameter support to AbstractKotlinCodegen * Updated samples and documents * Fixed issues with gson and moshi serializers with kotlin-jvm-vertx client * Added sample configs for kotlin-jvm-vertx clients with gson, jackson and moshi * Added samples for kotlin-jvm-vertx clients with gson, jackson and moshi * Included kotlin-jvm-vertx samples to test build * Updated samples Co-authored-by: Katja Danilova <katja.danilova@protonmail.com>
This commit is contained in:
@@ -26,6 +26,7 @@ import java.io.Serializable
|
||||
* @param name
|
||||
*/
|
||||
|
||||
|
||||
data class Category (
|
||||
|
||||
@Json(name = "id")
|
||||
|
||||
@@ -27,6 +27,7 @@ import java.io.Serializable
|
||||
* @param message
|
||||
*/
|
||||
|
||||
|
||||
data class ModelApiResponse (
|
||||
|
||||
@Json(name = "code")
|
||||
|
||||
@@ -30,6 +30,7 @@ import java.io.Serializable
|
||||
* @param complete
|
||||
*/
|
||||
|
||||
|
||||
data class Order (
|
||||
|
||||
@Json(name = "id")
|
||||
|
||||
@@ -32,6 +32,7 @@ import java.io.Serializable
|
||||
* @param status pet status in the store
|
||||
*/
|
||||
|
||||
|
||||
data class Pet (
|
||||
|
||||
@Json(name = "name")
|
||||
|
||||
@@ -26,6 +26,7 @@ import java.io.Serializable
|
||||
* @param name
|
||||
*/
|
||||
|
||||
|
||||
data class Tag (
|
||||
|
||||
@Json(name = "id")
|
||||
|
||||
@@ -32,6 +32,7 @@ import java.io.Serializable
|
||||
* @param userStatus User Status
|
||||
*/
|
||||
|
||||
|
||||
data class User (
|
||||
|
||||
@Json(name = "id")
|
||||
|
||||
Reference in New Issue
Block a user