Daniel
04/20/2023, 9:57 AMkotlinx.serialization
) domain objects exchanged over the REST API in a shared project. I would also like to define the REST API itself in there, with the paths, methods and objects expected/exchanged in various endpoints, so that it can be used both in the server and the client. I know about the Resources
ktor plugin, but it lacks the ability to define the methods and contents of the bodies. Is there any third-party tool/plugin that does this or am I left to attempt to create my own? And is this even something sensible to do in the first place, or should I rather use something like OpenAPI to define the API in a platform agnostic way 🤔?simon.vergauwen
04/20/2023, 10:04 AMreceive
is not that annoying:rocketraman
04/20/2023, 2:56 PM