3 Commits

Author SHA1 Message Date
Julian Kalinowski
f9dedd74ec
[kotlin] [multiplatform] [jvm-ktor] Fix formdata file upload (#21056)
* fix: kotlin multiplatform form-data file upload

* generate samples

* fix form data binary for jvm-ktor
2025-04-25 16:30:25 +08:00
William Cheng
353320cb04
[kotlin] better oneOf, anyOf support (#18382)
* add validteJsonElement

* add oneOf support

* various fixes, add tests

* minor fixes

* minor fixes

* update data class

* remove comments

* array support, add test

* update api client constructor

* add anyOf support

* add new files

* fix merge

* update

* update

* update

* update
2024-05-31 12:22:27 +08:00
Bruno Medeiros
ca80fcd03e
fix(ktor-client): do not add jsonBlock if using kotlinx-serialization (#15793)
* fix(ktor-client): do not add jsonBlock if using kotlinx-serialization

* update existing templates

* add new kotlin-jvm-ktor-kotlinx_serialization

* add new kotlin-jvm-ktor-kotlinx_serialization to samples-kotlin-client.yaml pipeline

actually, kotlin-jvm-ktor-gson was duplicated, so I'm replacing the second one by kotlin-jvm-ktor-kotlinx_serialization

* extra FILES entry in the template

* enumUnknownDefaultCase=false for now since it's currently broken for ktor + kotlinx_serialization

* use openapi 3 petstore
2023-06-11 20:45:20 +08:00