1.插件下载地址https://github.com/thedevsaddam/docgen?tab=readme-ov-file
下载二进制的exe文件,放到系统目录后配置系统和用户环境变量
输入docgen --help出现下图即成功
2.用法
Usage
- To view live HTML documentation from postman collection use
docgen server -f input-postman-collection.json -p 8000
This will open the html version of postman collection to the defined port - To view live Markown documentation from postman collection use
docgen server -f input-postman-collection.json -p 8000 -m
This will open the markdown version of postman collection to the defined port - To make HTML documentation use
docgen build -i input-postman-collection.json -o ~/Downloads/index.html
- To make Markdown documentation use
docgen build -i input-postman-collection.json -o ~/Downloads/index.md -m