mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Merge branch '3.1.x'
Closes gh-38022
This commit is contained in:
commit
edca4901dc
@ -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…
Reference in New Issue
Block a user