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

John O'Reilly

08/13/2020, 10:35 AM
What's current recommended approach for using Swagger and Ktor? I see there's a few plugins but some don't seem to be being maintained. Also, seems to be a few approaches e.g. auto generate swagger json from routes, or for example visa versa.
h

hhariri

08/13/2020, 11:51 AM
We’re going to be discontinuing Swagger support in our plugin (more on that later when we announce plans), and falling back to the Swagger support in the platform (IntelliJ). There is a 3rd party contribution for Ktor and we’ll make sure to contribute to that should it not be maintained.
👍 1
j

John O'Reilly

08/13/2020, 2:02 PM
This is one of the plugins I was looking at for example https://github.com/nielsfalk/ktor-swagger
h

Hank

08/17/2020, 6:01 AM
2 Views