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

David Stibbe

04/29/2022, 1:21 PM
Does anyone generate OpenApi yaml's from their Ktor endpoints ?
j

John O'Reilly

04/29/2022, 1:26 PM
Have used Swagger for this in the past.....but seems like this functionality might get integrated directly in Ktor https://youtrack.jetbrains.com/issue/KTOR-774
d

David

04/29/2022, 2:33 PM
Unfortunately this seems to still be a work in progress....
h

Hakon Grotte

05/02/2022, 8:31 AM
If you’re not on ktor v2* the following works quite well https://github.com/papsign/Ktor-OpenAPI-Generator
d

David Stibbe

05/02/2022, 9:01 AM
But I am on v2 😛
m

Mark Malik

05/05/2022, 6:28 PM
@David Stibbe did you find anything working for you ? I found it to be very hard to integrate any generator. There is either some authorization issues or the schema is just not running correctly
23 Views