Top "Spring-hateoas" questions

Spring HATEOAS provides some APIs to ease creating REST representations that follow the HATEOAS principle when working with Spring and especially Spring MVC.

Can I make a custom controller mirror the formatting of Spring-Data-Rest / Spring-Hateoas generated classes?

I'm trying to do something I think should be really simple. I have a Question object, setup with spring-boot, spring-data-rest …

spring spring-mvc spring-data spring-data-rest spring-hateoas
Template variables with ControllerLinkBuilder

I want my response to include this: "keyMaps":{ "href":"http://localhost/api/keyMaps{/keyMapId}", "templated":true } That's easy enough to …

spring spring-hateoas
Document HAL "_links" from Spring Hateoas (with swagger)?

I have a REST service I want to document for my client developing team. So I added some Links from …

spring spring-mvc documentation swagger spring-hateoas
How do I avoid n+1 queries with Spring Data Rest?

Question. How do I avoid n+1 queries with Spring Data REST? Background. When querying Spring Data REST for a list …

spring rest spring-data spring-data-rest spring-hateoas
Consuming Spring Hateoas Restservice with RestTemplate

I have two applications, one is called bar, what provides me resources in HAL format. The other is bcm to …

java client resttemplate spring-hateoas hal