您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
一个帮助用户在 Swagger UI 中快速生成对应 Typescript 接口的脚本 / A script that assists users in quickly generating corresponding TypeScript interfaces in Swagger UI.
一个帮助用户在 Swagger 页面中生成接口出入参 Typescript 类型的油猴脚本。 A userscript that helps generate TypeScript types for API input and output parameters on Swagger pages.
有条件还是早日用 ApiFox 吧 T-T...
Fuxk that! Just use ApiFox my friends!
Note: Please install the Tampermonkey before installing this script. The Tampermonkey plugin can be downloaded from the Chrome Web Store (requires proxy) or the Tampermonkey official website.
There are two ways to install this script:
⚠️注意:安装该脚本前请先安装篡改猴(即油猴)插件,该插件可通过 chrome 插件商店(需代理)或 篡改猴官网下载。
安装本脚本有以下两种方法:
Currently, this script will be launched on all pages whose domain name addresses contain swagger-ui
. If your Swagger address does not comply with this rule, please add corresponding domain name matching rules in the User Matching
setting of the script.
目前会在所有域名地址包含 swagger-ui
的页面中启动改脚本;若你的 Swagger 地址不符合该规则,请在脚本设置的 用户匹配
中添加对应域名匹配规则。
To display the corresponding types, click on the buttons labeled TS Interface
, Parameters Interface
, etc. on the page.
点击页面中的 TS Interface
Parameters Interface
等字样的按钮即可显示对应的类型。