Springfox - pom.xml updated, removed UserRestRepository
This commit is contained in:
parent
8826e8a12e
commit
0be367c1a5
@ -17,12 +17,12 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<!-- Snapshot repository location -->
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>jcenter</id>
|
<id>jcenter</id>
|
||||||
<name>jcenter</name>
|
<name>jcenter</name>
|
||||||
<url>https://jcenter.bintray.com/</url>
|
<url>https://jcenter.bintray.com/</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<!-- Snapshot repository location -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>jcenter-snapshots</id>
|
<id>jcenter-snapshots</id>
|
||||||
<name>jcenter</name>
|
<name>jcenter</name>
|
||||||
@ -49,7 +49,6 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Springfox -->
|
<!-- Springfox -->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.springfox</groupId>
|
<groupId>io.springfox</groupId>
|
||||||
<artifactId>springfox-swagger2</artifactId>
|
<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