It looks nice to me! Right now there is a PR for supporting ktor in Swagger codegen. But I guess this is the opposite: generating a definition from source code (routing tree?) and providing an interface for testing the API. I think it is a good idea and looks fine so far
j
jlleitschuh
06/27/2018, 8:55 PM
@Deactivated User Is it worth it for me to try to implement this as a PR or am I jumping the gun?
This is the opposite of using the codegen to create ktor code.
The idea behind this would be to allow your code to generate the swagger UI.
d
Deactivated User
06/27/2018, 8:57 PM
I’m not the one reviewing PRs, so I cannot guarantee anything. For me, at least, looks like a good idea 🙂