Join Slack
Communities
Powered by
Is it possible to have Swagger generate only REST ...
# random
n
napperley
03/11/2019, 9:43 PM
Is it possible to have Swagger generate only REST API documentation? If so what would Swagger require in order to generate the documentation?
napperley
03/11/2019, 9:46 PM
I have a working REST API that uses Ktor Server, and would prefer to avoid using Swagger Codegen if possible.
d
Dias
03/11/2019, 11:17 PM
you mean swagger-ui?
n
napperley
03/11/2019, 11:39 PM
Yes. The intention is to use
Swagger UI
to generate the API documentation.
d
Dias
03/11/2019, 11:44 PM
so that’s what you described
Dias
03/11/2019, 11:44 PM
you don’t need to generate anything
Dias
03/11/2019, 11:44 PM
just provide swagger ui with yaml with api definitions?
t
tapchicoma
03/12/2019, 9:14 AM
Have you seen this repo:
https://github.com/nielsfalk/ktor-swagger
?
4
Views
Open in Slack
Previous
Next