Closed atollk closed 2 months ago
Are you still interested in this feature @atollk?
I have been working on a first iteration and it would be great to get your feedback on it.
Hey. I personally do not need this feature anymore right now but I could still try and give some feedback if you want me to.
That would be great, @atollk. I'll ping you here when I have a PR ready.
@atollk please have a look at #280 when you have time 🙏
I haven't completely fleshed out this idea but just playing around with it, I feel like it shouldn't be too hard to add generation of a Ktor-based server as an option. And since afaik there are no Ktor-generators for OpenAPI in existence yet, it would probably be a pretty useful feature.
The idea would be to generate the same controller interfaces as for Spring or Micronaut right now, with the main difference that they don't use annotations but rather the Ktor DSL.
For example, Spring:
Ktor: