-1

Currently I was given a collection for postman, but it is using version 1 so I need to convert it to version 2 by using the plugin postman developed which this.

I followed exactly what they wrote and followed the command they gave but still is displaying this

Here is the image
I also tried to write the full directory
Here is the file that I am using

May know I why it is not reading my the output file that I already inserted.

4

1 回答 1

1

您的命令中有一些错误(例如,使用-input而不是--input或保留),这是来自官方 GitHub 存储库<>的示例:

$ postman-collection-transformer convert \
--input ./v1-collection.json \
--input-version 2.0.0 \
--output ./v2-collection.json \
--output-version 1.0.0 \
--pretty \
--overwrite

我建议使用这个替换您需要的值。

于 2021-07-29T09:39:02.690 回答