Swagger not detecting Api built with Spring Data Rest
问题 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 : No operations defined in spec! This my Api code : @Api(tags = "projets") @RepositoryRestResource(collectionResourceRel = "projets", path = "projets") public interface IProjectRepository extends JpaRepository<Project, Long> { } And this my configuration file : @Configuration @EnableSwagger2 public class