wujunzhong / rap-to-postman
Convert the json exported by RAP into the json format imported by Postman
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/wujunzhong/rap-to-postman
This package is not auto-updated.
Last update: 2026-01-04 12:47:23 UTC
README
一个简单的工具类,用于将 RAP 接口管理工具的备份文件,下载成 Postman 的 Json 导入文件。
使用
Composer 包下载
composer require wujunzhong/rap-to-postman
代码编写
$tool = new \RapToPostman\RapToPostman(); $rapBackupSrc = "xxx"; // Rap 导出备份地址 $savePath = "./public"; // 要保存的文件夹路径 return $tool->run($rapBackupSrc, $savePath); // return ./public/postman.json
下载好的 postman.json 文件使用 Postman 导入即可生成相应的接口。
License
The MIT License (MIT)
Copyright (c) 2018 吴俊钟1250044515@qq.com