File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2121import java .util .List ;
2222
2323import org .springframework .data .repository .support .Repositories ;
24+ import org .springframework .data .rest .core .annotation .RepositoryRestResource ;
25+ import org .springframework .data .rest .core .annotation .RestResource ;
2426import org .springframework .data .rest .core .mapping .ExposureConfiguration ;
2527import org .springframework .data .rest .core .mapping .RepositoryDetectionStrategy ;
2628import org .springframework .data .rest .core .mapping .RepositoryDetectionStrategy .RepositoryDetectionStrategies ;
2729import org .springframework .data .rest .core .support .EntityLookup ;
30+ import org .springframework .hateoas .LinkRelation ;
2831import org .springframework .hateoas .MediaTypes ;
2932import org .springframework .hateoas .server .LinkRelationProvider ;
3033import org .springframework .hateoas .server .core .AnnotationLinkRelationProvider ;
@@ -629,7 +632,7 @@ public boolean exposeRepositoryMethodsByDefault() {
629632/**
630633 * Sets whether to expose repository methods by default. If this is disabled, CRUD methods must be annotated with
631634 * {@link RestResource} explicitly to expose the default set of resources (opt-in). If this is set to {@literal true}
632- * (default), repository methods methods are exposed unless explictly annotated with {@link RestResource} and
635+ * (default), repository methods are exposed unless explictly annotated with {@link RestResource} and
633636 * {@link RestResource#exported()} set to {@literal false}.
634637 *
635638 * @since 3.1
You can’t perform that action at this time.
0 commit comments