Daniel04/20/2023, 9:57 AM
) 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
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.vergauwen04/20/2023, 10:04 AM
is not that annoying:
rocketraman04/20/2023, 2:56 PM