Is there any working example of REST API applicati...
# ktor
m
Is there any working example of REST API application with ktor and swagger?
e
Hi @Marcin Wiśniewski, you can use ktor idea plugin to generate API from a swagger file.
m
But how can I embed swagger docs inside?
Let's say I would like to have API docs behind /v1/api-docs
e
e
Is there any possibility to generate swagger/openapi3 over route declaration in ktor?
🚫 1
m
I think that the better idea is to use springboot instead of ktor. Springboot is well integrated with swagger-ui
e
spring mvc does not support generation of openapi3 specification by mvc configuration there is support of openapi3 generation only for apache cxf
m
I know, unfortunately. But automatically generated swagger ui is still more pragmatic for me
p