adding association links to spring data rest custom exposed method
Hi I have exposed a custom @RepositoryRestController to expose a custom method via Spring data rest the code for the method looks something like below @RequestMapping(method = RequestMethod.GET, value = "/foo/rsqlsearch") public @ResponseBody PagedResources<Resource<Foos>> findAllPaged(@RequestParam(value = "rsql") String rsql, Pageable pageable) { Page<Foo> foos= fundRepository.searchByRsql(rsql, pageable); return pagedResourcesAssembler.toResource(foos); } foo entity @Entity @Table(name = "FOO_TBL", schema = "F") @Data public class Foo implements Identifiable<String> { @Id @Column(name = "ID