jhipster - jhipster,api-first 方法,生成的 api 现在显示在 swagger-ui 中
问题描述
我遵循指南https://www.jhipster.tech/doing-api-first-development/生成端点接口并实现 PetApiDelegateImpl。
“pet/findByStatus”是可访问的:
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/v2/pet/findByStatus?status=pending'
[ {
"id" : 7918631312207652864,
"category" : null,
"name" : null,
"photoUrls" : [ ],
"tags" : null,
"status" : "pending"
}]
然而,大摇大摆地,没有任何 petstore api 显示:
我有什么遗漏吗?
解决方案
推荐阅读
- sql - SQL中时间序列飞行数据的重采样
- r - 将 kableExtra::cell_spec() 输出与自定义 S3 格式化方法相结合
- jenkins - jenkins 执行 shell 失败并出现错误:找不到通道 'ios 版本
- android - 从单独的外部类更新来自多个线程的多个视图
- java - 如何使用单个 maven 命令从代码库中 spring-boot:repacakge 到 Jar 和 War
- javascript - 如何选择具有自定义文件结尾的任何层的所有文件夹和子文件夹?
- angular - Angular 7 .net 核心 2.2 WebApi Windows 身份验证 CORS
- reactjs - 修改显示的文本字段
- php - 如何在 php laravel 应用程序路由中处理从 API 端点(django 应用程序)返回的数据
- android - 如何动态地将圆形布局添加到相对布局?