There seems to be a few different options for Open...
# ktor
l
There seems to be a few different options for OpenAPI spec generation with Ktor. Curious what people are using. I've seen https://bkbn.gitbook.io/kompendium among several others.
s
I you are using IntelliJ ultimate, ktor plugin provides an option to generate OpenAPU spec - https://www.jetbrains.com/help/idea/ktor.html#generate-openapi In my experience it has some issues generating proper spec and also you have to re-generate whenever your route config changes.
m
I concur with this take on the question from a while ago.
s
Micronaut does pretty decent job of generating the spec at compile time - https://micronaut-projects.github.io/micronaut-openapi/latest/guide/ without too much additional swagger meta annotations (Which i found distracting and too verbose).