[kotlin][client] Add inheritance to Kotlin Client templates (#4453)

* Add inheritance to Kotlin Client templates

* Correct white spacing issues

* Rebuild kotlin client samples
This commit is contained in:
Matt Traynham
2020-02-01 22:12:11 -05:00
committed by GitHub
parent a496c2011f
commit 26c9c64634
72 changed files with 128 additions and 231 deletions

View File

@@ -27,7 +27,5 @@ data class ApiResponse (
val type: kotlin.String? = null,
@Json(name = "message")
val message: kotlin.String? = null
)
)

View File

@@ -24,7 +24,5 @@ data class Category (
val id: kotlin.Long? = null,
@Json(name = "name")
val name: kotlin.String? = null
)
)

View File

@@ -37,10 +37,8 @@ data class Order (
val status: Order.Status? = null,
@Json(name = "complete")
val complete: kotlin.Boolean? = null
)
) {
{
/**
* Order Status
* Values: placed,approved,delivered

View File

@@ -39,10 +39,8 @@ data class Pet (
/* pet status in the store */
@Json(name = "status")
val status: Pet.Status? = null
)
) {
{
/**
* pet status in the store
* Values: available,pending,sold

View File

@@ -24,7 +24,5 @@ data class Tag (
val id: kotlin.Long? = null,
@Json(name = "name")
val name: kotlin.String? = null
)
)

View File

@@ -43,7 +43,5 @@ data class User (
/* User Status */
@Json(name = "userStatus")
val userStatus: kotlin.Int? = null
)
)