Closed padmalcom closed 1 week ago
Hi @padmalcom , thank you for the bug report! I had not noticed the bug because i always had a some other function in the same file where i used @Body and that added the import
Hi @Foso, thank you for your fast reply. So for the time waiting I add a dummy interface adding a @Body annotation to get the required import.
@Foso ksp 1.0.27
@yurii-shcherbiuk Thank you for the information! The imports are now fixed with Ktorfit 2.2.0
Ktorfit version
2.1.0
What happened and how can we reproduce this issue?
When building my multiplatform project, the implementation of the following API lacks the import 'import io.ktor.client.request.setBody'.
What did you expect to happen?
I'd expect ktorfit to add the missing import.
Is there anything else we need to know about?
We are grateful for your effort with this nice library.