moko-network icon indicating copy to clipboard operation
moko-network copied to clipboard

Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development

Results 40 moko-network issues
Sort by recently updated
recently updated
newest added

- store 'GET' requests results by full URL and E-Tag value on file system - allow to load response from cache by E-Tag resolving - allow to force load response...

enhancement

https://ktor.io/docs/response-validation.html#expect-success

enhancement

We use OpenAPI generator to generate ktor-client code from openapi. In openapi-generator 4.1.3 was added multiplatform support - https://github.com/OpenAPITools/openapi-generator/pull/3900. Now we should check differences between openapi-generator code and our. Then...

enhancement

Now File type is mapped to String. Should be added ByteArray or InputStream support (maybe kotlin-io useful for it) https://github.com/icerockdev/moko-network/blob/49ef3dc80cc44777a1ec3b3ce7040a9f392b7140/gradle-plugin/src/main/kotlin/dev/icerock/moko/network/KtorCodegen.kt#L30

enhancement

Every change in openapi file involving adding new request body description leads to regeneratin all InlineObjects for every request body. So, for example, InlineObject3 became InlineObject4. This demand updating calling...

enhancement

We have a delete call for an endpoint. So in the apI it is defined as a delete call so the key parts of the swagger are: ``` "delete" :...

bug

When you upgrade to KTOR 2.3.4 you get deprecation warnings from your APIs with this text: > 'Input' is deprecated. We're migrating to the new kotlinx-io library. This declaration is...

`updateTokenHandler` usually contains a request for refreshing `accessToken`, but in some APIs this request can get `401 Unauthorized` error (for example, when `refreshToken` is outdated as well). In this case...

When using the enum fall back and there is an unexpected value for the enum there are cases would it would be helpful to know the value that failed. For...

enhancement