From 5d2c4d8c04ce35a2a721e1b90d8ca4eb0a05583d Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Mon, 25 Sep 2023 19:38:20 +0200 Subject: [PATCH] Allow nullable body type #424 --- .../kotlin/de/jensklingenberg/ktorfit/BodyAnnotationsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktorfit-ksp/src/test/kotlin/de/jensklingenberg/ktorfit/BodyAnnotationsTest.kt b/ktorfit-ksp/src/test/kotlin/de/jensklingenberg/ktorfit/BodyAnnotationsTest.kt index 1bf87ee05..13268b480 100644 --- a/ktorfit-ksp/src/test/kotlin/de/jensklingenberg/ktorfit/BodyAnnotationsTest.kt +++ b/ktorfit-ksp/src/test/kotlin/de/jensklingenberg/ktorfit/BodyAnnotationsTest.kt @@ -75,7 +75,7 @@ import de.jensklingenberg.ktorfit.http.Body interface TestService { @POST("user") - suspend fun test(@Body id: String): String + suspend fun test(@Body id: String?): String } """ )