Foso / Ktorfit

HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native, WasmJs)) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit
https://foso.github.io/Ktorfit
Apache License 2.0
1.6k stars 43 forks source link

Allow Http Delete with Body #647

Closed Foso closed 2 months ago

Foso commented 2 months ago

Is your feature request related to a problem? Please describe.

I added the check because Retrofit is also doing it like this, but it looks like that Delete with body is technically possible and just not recommended and Retrofit also intents to remove the check one day https://github.com/square/retrofit/issues/3177

Describe the solution you'd like

Remove the error when body annotation is used with Delete

Describe alternatives you've considered

No response

Additional context

No response