Browse Source

Merge branch '3.1.x'

Closes gh-38022
pull/38029/head
Andy Wilkinson 2 years ago
parent
commit
edca4901dc
  1. 3
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/spring-hateoas.adoc

3
spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/spring-hateoas.adoc

@ -9,3 +9,6 @@ Note that doing so disables the `ObjectMapper` customization described earlier. @@ -9,3 +9,6 @@ Note that doing so disables the `ObjectMapper` customization described earlier.
WARNING: `spring-boot-starter-hateoas` is specific to Spring MVC and should not be combined with Spring WebFlux.
In order to use Spring HATEOAS with Spring WebFlux, you can add a direct dependency on `org.springframework.hateoas:spring-hateoas` along with `spring-boot-starter-webflux`.
By default, requests that accept `application/json` will receive an `application/hal+json` response.
To disable this behavior set configprop:spring.hateoas.use-hal-as-default-json-media-type[] to `false` and define a `HypermediaMappingInformation` or `HalConfiguration` to configure Spring HATEOAS to meet the needs of your application and its clients.

Loading…
Cancel
Save