Hi, what is the best way to work with open api in ktor? I would love to migrate my spring boot app to ktor, but i really like how the spring boot generates the open api from types, so that i know that is is the same consistent every time. I would like to avoid doing this twice, writing the api, and open api. What do you use?
I was thinking maybe inverting it and writing open-api first and then generate ktor backend from it but haven't find any solution for this either.