From 6c4273b5c9d0136679d4b3818d92c3ca7a1d3ce9 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Thu, 1 Jul 2021 15:48:34 -0700 Subject: [PATCH] Document spring hateoas is spring mvc specific Closes gh-26897 --- .../src/docs/asciidoc/spring-boot-features.adoc | 3 +++ 1 file changed, 3 insertions(+) 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 59c63dd6f9..848927e844 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,6 +3099,9 @@ 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. + [[boot-features-cors]]