Skip to content

Transform your postman collection to HTML/Markdown documentation

License

Notifications You must be signed in to change notification settings

thedevsaddam/docgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

67e675d · Apr 7, 2022
Dec 21, 2021
Jan 25, 2022
Jan 25, 2022
Jan 25, 2022
Jan 25, 2022
Jan 25, 2022
Jan 25, 2022
Jan 4, 2018
Jan 25, 2022
Jan 25, 2022
Jan 4, 2018
Apr 19, 2021
Jan 4, 2018
Dec 21, 2021
Apr 7, 2022
Dec 21, 2021
May 14, 2020
Jan 25, 2022
Jan 25, 2022
Dec 21, 2021
May 14, 2020
May 14, 2020
Jan 24, 2021

Repository files navigation

Docgen

Transform your postman collection to HTML/Markdown documentation

Task screenshot

Installation/Update on Mac/Linux

curl https://raw.githubusercontent.com/thedevsaddam/docgen/v3/install.sh -o install.sh \
&& sudo chmod +x install.sh \
&& sudo ./install.sh \
&& rm install.sh

Uninstallation

curl https://raw.githubusercontent.com/thedevsaddam/docgen/v3/uninstall.sh -o uninstall.sh \
&& sudo chmod +x uninstall.sh \
&& sudo ./uninstall.sh \
&& rm uninstall.sh

Windows

For windows download the binary and set environment variable so that you can access the binary from terminal

Binary link

Download binary

Available features

  • Live postman collection to documentation
  • Build postman collection to html/markdown documentation
  • Supports multi-level collection build

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

Demo markdown API documentation

Contributor

  1. Anondo

Contribution

Your suggestions will be more than appreciated. Read the contribution guide here

See all contributors

License

The docgen is an open-source software licensed under the MIT License.