報錯問題

解決方法:
1、確認已安裝node(建議配置環境變數);
2、 在cmd命令提示符視窗輸入:
npm install -g postman-collection-transformer
postman-collection-transformer convert -i <path to input Postman collection file> -o <path where the output Postman file will be downloaded> -j 1.0.0 -p 2.0.0 -P
注釋:
其中引數 <path to input Postman collection file> 需要轉換的目錄檔案;
引數 <path where the output Postman file will be downloaded> 為轉換后新的目錄檔案,
示例:
postman-collection-transformer convert -i 示例介面.postman_collection.json -o 新的介面.postman_collection.json -j 1.0.0 -p 2.0.0 -P
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/354602.html
標籤:其他
