How to add custom links to non repository rest controller in spring data rest hal?
问题 I would like to add custom rest controller to be added to the json/hal response of the entry point, together with all the respositories that are added by spring. I'm struggling with this by two problems: How can I add my custom controller so it appears on the entry point together with the links to my repository? How can I decorate with a link to my custom controller on a representation of an entity produced by the repository so I can link to my custom controller? I have struggled for a while