
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
yapi-plugin-api-doc
Advanced tools
根据内置导出数据插件,在分组的某个项目导航栏中加入接口文档标签,点击可以直接查看接口文档。
第一步:在config.json 这层目录下运行 yapi plugin --name yapi-plugin-api-doc 安装插件
第二步: 重启服务器
点击项目导航栏的接口文档,可以设置查看当前分组所有接口的文档。页面顶部有一个开关,用来设置当前分组的开放接口文档是否公开可见,打开开关之后可以看到公开访问地址。
每个接口编辑页面都可以设置当前接口是否为开放接口,如果是开放接口可以通过这边的设置来觉得是否开放为无需登录即可访问的接口。
对于一个工程中有很多分组,一个分组又会有很多项目,这些分组和项目之间对外提供文档是需要一定顺序的。 点击右上角的头像会出现下拉选项,点击接口文档即可进入全局文档的设置界面。 当前支持在目录树上进行拖拽排序操作,轻松搞定文档的顺序。通过右侧给出的文档地址可以轻松访问。
目前的YAPI不支持用户不登录进行访问操作,需要支持public接口的版本才能免登录公开访问
FAQs
The npm package yapi-plugin-api-doc receives a total of 11 weekly downloads. As such, yapi-plugin-api-doc popularity was classified as not popular.
We found that yapi-plugin-api-doc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.