Springfox - pom.xml updated, removed UserRestRepository

This commit is contained in:
Anshul BANSAL 2019-11-29 23:38:39 +02:00
parent 8826e8a12e
commit 0be367c1a5
2 changed files with 1 additions and 13 deletions

View File

@ -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>

View File

@ -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> {
}