Closed
Description
In Spring Boot 1.1.10 the default hateoas format is HAL as long as spring-hateoas is included in the classpath (According to the doc and real life experience). This is no longer the case and I had to add both @EnableWebMvc
and @EnableHypermediaSupport(type= {EnableHypermediaSupport.HypermediaType.HAL})
to my application in order to get HAL.
Is this intended behaviour or a bug? Looking at spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaAutoConfiguration.java
it seems a bug has been fixed for another issue (#1729). Would this fix also fix this HAL problem?