YAPI 暂不支持V2 postman不支持V1 你们真是人才啊!!!!!!!!!
解决方案:
Importing and exporting data | Postman Learning Center
导出的postman V2转成V1
1、导出postman V2
2、打开cmd,安装命令:npm install -g postman-collection-transformer
3、V2转V1(-j 2.0.0 -p 1.0.0 -P)或者 V1转V2(-j 1.0.0 -p 2.0.0 -P)
案例文件地址:"D:\Postman\a.postman_collection.json"
案例文件导出地址 :"D:\Postman\b.postman_collection.json"
命令
postman-collection-transformer convert -i "D:\Postman\a.postman_collection.json" -o "D:\Postman\b.postman_collection.json" -j 2.0.0 -p 1.0.0 -P