yapi icon indicating copy to clipboard operation
yapi copied to clipboard

【功能提问】有没有全局搜索功能?【已解决】

Open hnl1 opened this issue 7 years ago • 6 comments

有没有全局搜索功能

~

请问有没有全局搜索功能,系统有六百多个接口,分了几十个项目,当我只知道url要找一个接口的接口文档时,我有时根本不知道它在哪个项目中,只能一个个去试

hnl1 avatar Nov 14 '19 03:11 hnl1

同问

harlan1012 avatar Nov 15 '19 07:11 harlan1012

右上角的搜索无法使用吗? image

tangcent avatar Nov 16 '19 02:11 tangcent

image 这是一个确实存在的接口,输入后没有反应,回车依然没有反应,点击🔍还是没有反应

hnl1 avatar Nov 16 '19 04:11 hnl1

image image

如图,现行搜索的实现,对于接口

POST /demo/user/add

通过 /demo/user/add /demo/user /user/add' /add 都可以搜索到 但是localhost:8080/demo/user/是搜索不到的


所以搜索接口时,尝试去掉前缀, 只保留核心路径 如localhost:8080/demo/user/ -> demo/user

tangcent avatar Nov 16 '19 04:11 tangcent

知道原因了,是版本的问题,现在我的yapi也有搜索啦,幸福🥰

hnl1 avatar Nov 17 '19 09:11 hnl1

哪个版本支持全局搜索?

cookerzhu avatar Nov 20 '19 10:11 cookerzhu