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

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