From 7f940215e63e4ac51f2ae0e8da6a322b1813d8a6 Mon Sep 17 00:00:00 2001 From: Constantine Linnick Date: Sat, 3 Feb 2018 22:47:54 +0300 Subject: [PATCH] DATACMNS-1254 - Add example of detection strategy --- src/main/asciidoc/getting-started.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/asciidoc/getting-started.adoc b/src/main/asciidoc/getting-started.adoc index ce82a4249..474388a6f 100644 --- a/src/main/asciidoc/getting-started.adoc +++ b/src/main/asciidoc/getting-started.adoc @@ -95,6 +95,13 @@ Spring Data REST uses a `RepositoryDetectionStrategy` to determine if a reposito | `VISIBILITY` | Only public repositories annotated are exposed. |=== +With Spring Boot 1.2+, strategy configurable via `application.properties`: + +[source,properties] +---- +spring.data.rest.detection-strategy=annotated +---- + === Changing the base URI By default, Spring Data REST serves up REST resources at the root URI, "/". There are multiple ways to change the base path.