Hello Everyone, I need some inputs regarding ktor ...
# server
a
Hello Everyone, I need some inputs regarding ktor swagger integration. I am prepping up to replace spring boot with ktor and want to showcase ktor to my team. So far the only missing feature I have found is Swagger support. This might prevent us to adopt ktor in near future. I haven’t so far found any definite answer or road map on the internet as well. Any thoughts!
t
what kind of swagger support?
a
Swagger UI similar to Spring Boot where API documentation is generated by annotating controllers. https://www.baeldung.com/swagger-2-documentation-for-spring-rest-api
t
so the support you’re looking for is bootstrapping swagger UI?
It wasn’t clear from your original question - swagger comes in many flavours
a
Yes
l
you mean specifically you want the auto swagger generation based on the methods created
if you do api first design you can use this:
then you can do open Api 3 instead of 2, because I think spring rest only support 2 at this point