File tree 1 file changed +4
-1
lines changed
spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 21
21
import java .util .List ;
22
22
23
23
import org .springframework .data .repository .support .Repositories ;
24
+ import org .springframework .data .rest .core .annotation .RepositoryRestResource ;
25
+ import org .springframework .data .rest .core .annotation .RestResource ;
24
26
import org .springframework .data .rest .core .mapping .ExposureConfiguration ;
25
27
import org .springframework .data .rest .core .mapping .RepositoryDetectionStrategy ;
26
28
import org .springframework .data .rest .core .mapping .RepositoryDetectionStrategy .RepositoryDetectionStrategies ;
27
29
import org .springframework .data .rest .core .support .EntityLookup ;
30
+ import org .springframework .hateoas .LinkRelation ;
28
31
import org .springframework .hateoas .MediaTypes ;
29
32
import org .springframework .hateoas .server .LinkRelationProvider ;
30
33
import org .springframework .hateoas .server .core .AnnotationLinkRelationProvider ;
@@ -629,7 +632,7 @@ public boolean exposeRepositoryMethodsByDefault() {
629
632
/**
630
633
* Sets whether to expose repository methods by default. If this is disabled, CRUD methods must be annotated with
631
634
* {@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
633
636
* {@link RestResource#exported()} set to {@literal false}.
634
637
*
635
638
* @since 3.1
You can’t perform that action at this time.
0 commit comments