Hey guys, Is there any tool/plugin to auto-generat...
# announcements
d
Hey guys, Is there any tool/plugin to auto-generate ApiDoc.yaml that integrates with ktor?
a
hi! for my projects i use https://github.com/int128/gradle-swagger-generator-plugin with custom generator class for create ktor with our internal extensions & libraries https://github.com/int128/gradle-swagger-generator-plugin#use-custom-generator-class
you can too start from this plugin 🙂
d
Thank you @alex009, so helpful
@alex009 do you have an example of using it with a custom generator for ktor?
a
public - not 😞
d
aggg well, thank you @alex009
m
Use the open api generator instead. A fork, and much improved over swagger one. Started after smartbear acquired swagger and many Devs on tool disagreed. Supports v2 and v3 with same code. More languages and more active community from what I've seen. Switched over 6 months ago and no regrets. https://openapi-generator.tech