I can see Swagger being mentioned in the ktor docs...
# ktor
j
I can see Swagger being mentioned in the ktor docs. But I don't find any information about it except it just pointing over to the OpenApi generator github repo. Is there any simple kotlin example I can just copy and paste to get ktor to generate swagger files?
b
No, only the other way around is supported. i.e. generate ktor project stubs from swagger file
👍 2
a
Unfortunately, the generation from a Ktor application to Swagger specification files isn't implemented yet. Here is a feature request.
j
Thanks. I'll subscribe to that issue on youtrack.