Hey :slightly_smiling_face: what is the “official”...
# ktor
s
Hey 🙂 what is the “official” way to autogenerate OpenAPI or Swagger specs in ktor ?
1
b
s
there is no such plugin for swagger or openapi
b
You can attach the spec files and it'll generate the routes for you
s
thanks but I would like to do it the other way around
b
image.png
s
yeah, saw this too late
thanks
b
Ah 😄 Misunderstood your issue, then.
s
but I want to generate specs from the routes 😉
b
I'd be interested in such tool myself.
s
actually the “api-first” approach would make my question obsolete 🤔
actually I should design the swagger-spec first and then generate the routes
thanks for showing me that button @Big Chungus
makes total sense
b
I'm working on a plug-in to auto generate swagger specs
s
great