is anyone using OpenAPI Swagger codegen in a KMPP ...
# multiplatform
a
is anyone using OpenAPI Swagger codegen in a KMPP project?
k
Haven’t tried it, but here’s something to look at: https://github.com/icerockdev/moko-network
a
was just checking that out (the project in general)
OpenAPI codegen project specifically has a PR merge mentioning client generation support for kmpp though - not sure what the difference here is
k
Would be very interested to hear your feedback. Have had a few potential client chats where that came up
Like the “official” repo has a PR?
a
yes
k
Oh. Hard to keep up. Writing a talk on “libraries”. Need to change my slides again…
a
let me dig up the PR to make sure I didn't misunderstand
k
Interesting, thanks!
m
@Andy Gibel thats great, I will give it definitelly a try, I was using swagger generate API module before….
a
moko-network use OpenAPI Generator underhood, but when we develop it in original generator no support of kotlin-client. For now moko-network give simplified configuration & additional classes from moko-network runtime with some fixes of ktor-client, additions to kotlin-serialization. If you try both and give pros and cons - it will be great 🙂