veiset
08/29/2018, 8:56 AM@GET
@Path("...")
fun getUser(...): Response = User("Vegard").toResponse()
I want that Response
to have the type info of the actual object I return to the frontend. It's currently somewhat painful to figure out the actual type of whats being returned. (edit: Response being java.ws.rs.core.Response
)