[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
This commit is contained in:
Julian Kalinowski
2025-04-25 10:30:25 +02:00
committed by GitHub
parent be77442bff
commit f9dedd74ec
14 changed files with 30 additions and 26 deletions

View File

@@ -90,7 +90,7 @@ open class DefaultApi : ApiClient {
fn2?.apply { append("fn2", fn2) }
fn3?.apply { append("fn3", fn3) }
fn4?.onEach {
append("fn4[]", it)
append("fn4", it)
}
}