docgen

command module
v0.0.0-...-4ec8f36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 24 Imported by: 0

README

Docgen

Transform your postman collection to html documentation

Task screenshot

Installation
go get -u github.com/thedevsaddam/docgen
Mac
brew tap thedevsaddam/cli https://github.com/thedevsaddam/homebrew-cli.git
brew install docgen

# update
brew upgrade docgen
Windows

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

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

See example API markdown documentation

Author
  1. Sajib Sikder
  2. Saddam H
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.

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL