yapi-plugin-import-rap2:从rap2导入数据-源码

上传者: 42099070 | 上传时间: 2021-09-13 11:51:14 | 文件大小: 859KB | 文件类型: ZIP
用途 迁移rap2数据到yapi,访问两边的接口方式实现 用法 1,启动服务 npm install 修改config.json里面的配置:rap2.host node server/app.js 2,访问这个服务的接口,实现迁移 http://127.0.0.1:3000/api/rap2/importy-from-rap2?repositoryId=${xxx}&projectId=${xxx}&randomPath=${xxx}&token=${xxx} 参数说明: repositoryId: rap2的仓库id projectId: yapi新建一个项目后的项目id(需要新建一个项目) token: yapi项目的open api访问的token(`设置` -> `token配置`) randomPath: 可选,用于处理原来rap2仓库里面存着重复路径的情况,作用就是在路径后面加

文件下载

资源详情

[{"title":"( 23 个子文件 859KB ) yapi-plugin-import-rap2:从rap2导入数据-源码","children":[{"title":"yapi-plugin-import-rap2-main","children":[{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"server","children":[{"title":"utils","children":[{"title":"commons.js <span style='color:#111;'> 961B </span>","children":null,"spread":false},{"title":"data-convert.js <span style='color:#111;'> 8.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"base.js <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"import-rap2.js <span style='color:#111;'> 4.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"config.json <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"config.example.js <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"router.js <span style='color:#111;'> 975B </span>","children":null,"spread":false}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 22.89KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"static","children":[{"title":"example.html <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"fetch-rap2-data.png <span style='color:#111;'> 305.77KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"wm.svg <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"yapi-example.png <span style='color:#111;'> 222.46KB </span>","children":null,"spread":false},{"title":"wm.png <span style='color:#111;'> 22.02KB </span>","children":null,"spread":false},{"title":"import-rap2-yapi.png <span style='color:#111;'> 255.29KB </span>","children":null,"spread":false},{"title":"echo-params.png <span style='color:#111;'> 258.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"docs.min.css <span style='color:#111;'> 21.88KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明