将 implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0' 添加到我的 build.gradle 创建了我的 fake_api.yml 文件(并在 https://editor.swagger.io 进行了验证) 将我的 fake_api.yml 文件放在 src/main/resources/static 中。 我可以通过点击http://localhost:8080/fake_api.yml来下载...
我可以通过向所有使用JpaRepository实现的存储库方法添加@Param注解来修复(变通方案)该错误,例如:...