Generating html file from a postman collection file. it is useful for API documentation.
This library is available via Composer
composer global require "alioygur/postman2html=~1.0"
postman2html render location-of-postman-collection-file.json
postman2html render location-of-postman-collection-file.json path/to/apidoc.html
postman2html help render
Output of postman2html help render
command
Usage:
render inputfile [outputfile]
Arguments:
inputfile input file
outputfile output file (default: "output.html")
Options:
--help (-h) Display this help message.
--quiet (-q) Do not output any message.
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.
--version (-V) Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction (-n) Do not ask any interactive question.