From a23d11fe6c040eef3bd7f559a5c212cb626e698d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 29 Sep 2015 13:43:15 +0100 Subject: [PATCH] Update appendix with details of new Spring HATEOAS property Follow-on from c55900b4. Closes gh-3891 --- .../src/main/asciidoc/appendix-application-properties.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index 0b08a3fcb67..221455b18b2 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -175,7 +175,7 @@ content into your application; rather pick only the properties that you need. spring.h2.console.path=/h2-console # Path at which the console can be accessed # SPRING HATEOAS ({sc-spring-boot-autoconfigure}/hateoas/HateoasProperties.{sc-ext}[HateoasProperties]) - spring.hateoas.apply-to-primary-object-mapper=true # if the primary mapper should also be configured + spring.hateoas.use-hal-as-default-json-media-type=true # if application/hal+json responses should be sent in response to requests for application/json # HTTP encoding ({sc-spring-boot-autoconfigure}/web/HttpEncodingProperties.{sc-ext}[HttpEncodingProperties]) spring.http.encoding.charset=UTF-8 # the encoding of HTTP requests/responses