I using spring-data-rest
in conjunction to spring-data-jpa
which exposes all my spring-data-jpa
interfaces as REST resources in HAL JSON format.
I would like to expose my @Service methods in the same fashion. Is this possible? If not, what is the best way to implement an endpoint that may need to use more complex logic the JSON response?