Is anyone here successfully generating kotlin data...
# announcements
f
Is anyone here successfully generating kotlin data classes from json schema in a pipeline? i.e. not using an android plugin
a
yes, we use internal (for now) gradle plugin for generating. based on https://github.com/OpenAPITools/openapi-generator
f
Thanks! How much work was it setting up the gradle plugin? Do you use the jar?
t
We do something similar
a
day or two... we have only one class with some custom logic of arguments mapping and have custom resources with our files templates
we use gradle composite build (plugin compiles with project just like buildSrc)
t
We use this plugin with a custom set of templates https://github.com/int128/gradle-swagger-generator-plugin
f
Thanks for the input!
118 Views