apifox-models
v2.1.0
Published
拉取apifox的模型文件,并生成对应的代码
Downloads
48
Readme
拉取Apifox声明的接口文档并生成DTS声明
> npm i [email protected] -g
> apifox-models
@filename(package.json)
{
"apifox": {
"output": "models", // 输出文件夹
"fetchDir": "apifox", // 根据models生成请求代码,该目录下存在httpCore文件,可编写具体的请求代码
"urls": [
xxx // 输入Apifox生成代码链接
],
}
}