From 877f618a690b37ccc776ecc82e2699524e7e6451 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 2 Jul 2021 15:36:39 -0700 Subject: [PATCH] Clarify that HATEOAS can be used with Webflux without starter Closes gh-26897 --- .../src/docs/asciidoc/spring-boot-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index 848927e844..f5abf27b52 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -3099,8 +3099,8 @@ The `ObjectMapper` is customized by setting the various `spring.jackson.*` prope You can take control of Spring HATEOAS's configuration by using `@EnableHypermediaSupport`. Note that doing so disables the `ObjectMapper` customization described earlier. -NOTE: Spring Boot only supports Spring HATEOAS with Spring MVC. -Adding Spring HATEOAS to a Spring Boot application with Spring WebFlux can cause the application to fail. +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`.