xxfast
02/04/2022, 2:20 AMAleksei Tirman [JB]
02/04/2022, 8:59 AMxxfast
02/05/2022, 6:00 AMmultiplatform
and it uses ktor
https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/kotlin.mdopenApiGenerate {
generatorName.set("kotlin")
library.set("multiplatform")
}
Rafael Costa
03/15/2022, 5:19 PMxxfast
03/15/2022, 11:53 PMopenapigenerate
task doesn’t get triggered by default. You need to explicitly set up the build dependency to it and I’m not sure how to do this 💯 in a multiplatform project - given that the compile task is different for different platforms you target. More about this in the thread here
2. the current multiplatform template doesn’t seems to work with kotlinx-datetime formats. Raised this in a thread here but that didn’t really go anywhere. There is also this stackoverflow post about this i think
3. the current multiplatform template comes with a bunch of utility classes and authentication boilerplate that I don’t really need (my authentication feature is installed on the client in a different module elsewhere)
Due to these reasons, i decided not to automate openapigenerate
tasks in to build - but if these gets addressed in the future, i might revisit thisMeherdatta Chepuri
02/17/2023, 11:04 PMProject with path ':dispatchClient' could not be found in project ':shared'.
Did you generate it as a separate project outside shared module?