for typescript generation, I'd take with with a grain of salt (and I know it's an unpopular opinion, no need to argue), as it increases the coupling between the frontend and the backend; which is entirely against the entire idea
exactly, this is the key of HATEOAS as I understand it too