forked from loafle/openapi-generator-original
[Kotlin] Fix default values (#17937)
* Fixed invalid extraction of response body in kotlin-client jvm-spring-* * Generated echo-api for kotlin-jvm-spring-3-restclient * Specific echo-api for Kotlin without allOf/anyOf * Specific echo-api for Kotlin without allOf/anyOf * Generated all samples * Added kotlin-jvm-spring-3-restclient sample to workflow * Fixed syntax problem * [kotlin] Fixed multiple problems with default values * [kotlin] Removed old commented code * [kotlin] Generated new samples after merge with master * [kotlin] ensure-up-to-date
This commit is contained in:
@@ -117,11 +117,11 @@ class PetApi(client: WebClient) : ApiClient(client) {
|
||||
/**
|
||||
* enum for parameter status
|
||||
*/
|
||||
enum class StatusFindPetsByStatus(val value: kotlin.String) {
|
||||
@JsonProperty(value = "available") available("available"),
|
||||
@JsonProperty(value = "pending") pending("pending"),
|
||||
@JsonProperty(value = "sold") sold("sold"),
|
||||
}
|
||||
enum class StatusFindPetsByStatus(val value: kotlin.String) {
|
||||
@JsonProperty(value = "available") available("available"),
|
||||
@JsonProperty(value = "pending") pending("pending"),
|
||||
@JsonProperty(value = "sold") sold("sold"),
|
||||
}
|
||||
|
||||
|
||||
@Throws(WebClientResponseException::class)
|
||||
|
||||
Reference in New Issue
Block a user