Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DATACMNS-1254 - Add example of detection strategy #288

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down