Open
Description
Hi,
are there any plans or interest to add linking via annotations?
I initially used this concept in RESTEasy where it was called @LinkResource. When we switched to Jersey, I missed it so much that I contributed the behavior to Jersey as @ProvideLink.
The basic idea is that you define the links on the methods that they should point to, and say which representations/EntityModels should be enhanced. Doing it this way gets rid of repetitive writing of the same links in multiple methods that return the same model. Furthermore, you don't need to specify the method anymore, since it is already defined due to the presence of the link.