Ktorfit
Ktorfit copied to clipboard
HTTP client generator / KSP plugin for Kotlin Multiplatform (Android, iOS, Js, Jvm, Native) using KSP and Ktor clients inspired by Retrofit https://foso.github.io/Ktorfit
A Builder class is handy if you deal with multiple APIs which require slightly different configuration. **Example:** We need to make a request to the following APIs - GitHub -...
### Is your feature request related to a problem? Please describe. Not a real problem, however in Retrofit it's possible to call Headers like this (with a single value): ```kotlin...
The suspend API functions ignore any defined `ResponseConverters` - is that by design? A look into the source code confirms this, only the non-suspend code in KtorfitClient.request uses `getResponseConverters()`. _*(I...
The following code doesn't compile because `PUT` throws an error that `@Url` must be set in case no URL is forwarded into `PUT` directly - even though the `@Url` is...
`Field` in `FormUrlEncoded` requests on Android with OkHttp gets encoded twice. For example `@` is encoded as `%2540` instead of `%40`. I suspect that OkHttp is doing encoding too. Tested...
`local.properties` are checked into Git - these should be part of `.gitignore`. In this case they include a local path to `=/Users/jensklingenberg/Library/Android/sdk`
The [docs](https://foso.github.io/Ktorfit/#json) mention > Ktorfit doesn’t parse JSON. You have to install the Json Feature to the Ktor Client that you add to Ktorfit but never explain how to use...
We use 'internal' keyword a lot in our modules. With ktorfit we get errors like this in generated classes: 'public' function exposes its 'internal' parameter type OurInternalRequestParameter
**Is your feature request related to a problem? Please describe.** When using Ktorfit with nullable parameters, it will throw `Nullable Parameters are not supported` when build. **Describe the solution you'd...
Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.21.0 to 0.22.0. Changelog Sourced from com.vanniktech.maven.publish's changelog. Version 0.22.0 (2022-09-09) NEW: When publishing to maven central by setting SONATYPE_HOST or calling publishToMavenCentral(...) the plugin will now...