It should be indicated whether an automatically generated URL is normally used for the subdomains or a manually generated URL. The reason is that it would be better if everyone was using the same thing so that a new user would understand each controller the same way.
You can find a poc in followed gitProject under module “SpingData_vs_ManualLink”.
The decision is evaluated by a proof of concapt and the aspect that you need a controller to implement DTO-classes with Spring Data Rest.
The resolution is that the teams should generate manual Links and not use Spring Data Rest.
The reason for this is that you need a controller in order to realize DTO classes. So if you must have a controller in this project case, you can diractly use the manual Link generation. It’s better to read and for new users good to understand the URI for REST.