Howdy devs. I want to hear what everyone's thought...
# ktor
j
Howdy devs. I want to hear what everyone's thoughts are on my proposal here: https://github.com/ktorio/ktor/issues/453
👍 4
d
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
@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
I’m not the one reviewing PRs, so I cannot guarantee anything. For me, at least, looks like a good idea 🙂
k
FYI, there's a Spring plugin to do this in Spring
j
@orangy What are your thoughts on this?