https://kotlinlang.org logo
#ktor
Title
# ktor
j

jeggy

09/22/2021, 1:22 PM
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

Big Chungus

09/22/2021, 1:51 PM
No, only the other way around is supported. i.e. generate ktor project stubs from swagger file
👍 2
a

Aleksei Tirman [JB]

09/22/2021, 1:52 PM
Unfortunately, the generation from a Ktor application to Swagger specification files isn't implemented yet. Here is a feature request.
j

jeggy

09/22/2021, 2:07 PM
Thanks. I'll subscribe to that issue on youtrack.
2 Views