Skip to content

Commit 877f618

Browse files
committed
Clarify that HATEOAS can be used with Webflux without starter
Closes gh-26897
1 parent 6c4273b commit 877f618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3099,8 +3099,8 @@ The `ObjectMapper` is customized by setting the various `spring.jackson.*` prope
30993099
You can take control of Spring HATEOAS's configuration by using `@EnableHypermediaSupport`.
31003100
Note that doing so disables the `ObjectMapper` customization described earlier.
31013101

3102-
NOTE: Spring Boot only supports Spring HATEOAS with Spring MVC.
3103-
Adding Spring HATEOAS to a Spring Boot application with Spring WebFlux can cause the application to fail.
3102+
WARNING: `spring-boot-starter-hateoas` is specific to Spring MVC and should not be combined with Spring WebFlux.
3103+
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`.
31043104

31053105

31063106

0 commit comments

Comments
 (0)