title: Swagger not detecting Api built with Spring Data Rest
body: <p>I'm working on a spring boot application using swagger to generate docs for my API ,I'm using Spring data rest to generate the Api but when I run the app I get the swagger message : <strong>No operations defined in spec!</strong></p>
  
  <p>This my Api code : </p>
  
  <pre><code>@Api(tags = "projets")
  @RepositoryRestResource(collectionResourceRel = "projets", path = "projets")
  public interface IProjectRepository extends JpaRepository&lt;Project, Long&gt; {
  
  }
  </code></pre>
  
  <p>And this my configuration file : </p>
  
  <pre><code>@Configuration
  @EnableSwagger2
  public class QfactoryConfiguration {
  
      @Bean
       public Docket getDocketInstance() {
           return new Docket(DocumentationType.SWAGGER_2) 
                   .apiInfo(new ApiInfoBuilder()
                              .title("Spring Boot project")
                              .description("Spring Boot bootstrap project")
                              .version("0.1")
                              .license("Unlicense")
                              .build())
                    .select()  
                    .apis(RequestHandlerSelectors.basePackage("com.errabi.qfactory.repositories"))             
                    .paths(PathSelectors.any())                          
                    .build();  
       }
  
  
  
  
  }
  </code></pre>
  
  <p>And this the dependencies that I'm using : </p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
          &lt;version&gt;2.9.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-data-rest&lt;/artifactId&gt;
          &lt;version&gt;2.9.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.springfox&lt;/groupId&gt;
          &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
          &lt;version&gt;2.9.2&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I'm asking is the Swagger is able to generate docs for Api generated by Spring data rest or I should use a @RestController with annotations @Api,@ApiOperation</p>
  
  <p>I'm using spring boot version : 2.1.3.RELEASE</p>