Open dalewking opened 11 months ago
Can I try to work on this?
Can I try to work on this?
Yes! Please :)
Hi, I forked the repository and opened it in android studio. After building the project for some reason the platform and iOS-related imports are all marked red and "could not resolve reference" any idea how can I solve this? I am new to kotlin multiplatform actually.
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:
So there is no actual data returned on success just a 204 status code. Errors can have a body though
The code that is generated looks something like this:
My initial complaint is that generates a warning when compiled about
Variable 'response' is never used
But in reality isn't this code not going to handle error codes? Won't it eat the error and just always return unit?
Shouldn't the Response method return a NetworkResponse? The end of the response method could be something like: