标签: spring-boot spring-data-rest swagger-ui swagger-2.0 springfox
我正在使用Spring Data Rest生成的rest api测试Swagger-UI。
我有一个非常基本的存储库:
@Repository public interface EmployeeRepository extends JpaRepository<Employee, Integer> { }
但是在获得员工的Swagger-UI文档中,我得到了相当无用的信息:
在其他地方,例如发布员工,我可以看到实际的实体详情:
任何人都知道如何获取实体细节以显示GET方法?