DATAREST-38: Adding self link to related entity representation in addition to providing the Content-Location header.
This commit is contained in:
@@ -1381,6 +1381,7 @@ public class RepositoryRestController
|
||||
linkedRepoMeta.entityMetadata(),
|
||||
selfUri);
|
||||
res.addLink(new ResourceLink(propertyRel, propertyPath));
|
||||
res.addLink(new ResourceLink(SELF, selfUri));
|
||||
|
||||
publishEvent(new BeforeRenderResourcesEvent(request, repoMeta, res));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user