Springfox - pom.xml updated, removed UserRestRepository
This commit is contained in:
parent
8826e8a12e
commit
0be367c1a5
@ -17,12 +17,12 @@
|
||||
</parent>
|
||||
|
||||
<repositories>
|
||||
<!-- Snapshot repository location -->
|
||||
<repository>
|
||||
<id>jcenter</id>
|
||||
<name>jcenter</name>
|
||||
<url>https://jcenter.bintray.com/</url>
|
||||
</repository>
|
||||
<!-- Snapshot repository location -->
|
||||
<repository>
|
||||
<id>jcenter-snapshots</id>
|
||||
<name>jcenter</name>
|
||||
@ -49,7 +49,6 @@
|
||||
</dependency>
|
||||
|
||||
<!-- Springfox -->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
|
@ -1,11 +0,0 @@
|
||||
package com.baeldung.springfox.repository;
|
||||
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
|
||||
|
||||
import com.baeldung.springfox.model.User;
|
||||
|
||||
@RepositoryRestResource(collectionResourceRel = "users", path = "users")
|
||||
public interface UserRestRepository extends CrudRepository<User, Long> {
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user