mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 05:46:11 +00:00
[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:
@@ -112,11 +112,11 @@ class PetApi(client: RestClient) : 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(RestClientResponseException::class)
|
||||
|
||||
Reference in New Issue
Block a user