[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:
Stefan Koppier
2024-02-28 04:20:27 +01:00
committed by GitHub
parent 0b02734b93
commit 2a4e60ccbb
73 changed files with 4327 additions and 122 deletions

View File

@@ -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)