3.1K Star 33.4K Fork 23.7K

若依 / RuoYi-Vue

 / 详情

无法打开http://localhost:8080/swagger-ui.html

已完成
创建于  
2021-08-11 17:24

项目搭建完成,服务也启动好了,但是无法打开swagger页面http://localhost:8080/swagger-ui.html,麻烦帮忙看下原因。

返回:
Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Aug 11 17:02:57 CST 2021
There was an unexpected error (type=Not Found, status=404).
No message available

评论 (4)

lxinou 创建了任务
lxinou 关联仓库设置为若依/RuoYi-Vue
展开全部操作日志

没有其他小伙伴碰到这个问题吗?

http://localhost:8080/swagger-ui/index.html; 但是只能看到一个testController,其他的没配置

因为只有testController 对应的类加了 @Api("") 注解。 ruoyi-admin中的其它controller都没有加@Api注解,自己根据需要加上就行了

地址是 /swagger-ui/index.html

若依 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(4)
1773607 zhliu 1677649918 1151004 y project 1578942802
JavaScript
1
https://gitee.com/y_project/RuoYi-Vue.git
git@gitee.com:y_project/RuoYi-Vue.git
y_project
RuoYi-Vue
RuoYi-Vue

搜索帮助