Coder Social home page Coder Social logo

eldinzenderink / postmantodoc Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 728 KB

Generates (very) simplistic documentation for postman that includes every example when being "printed" to pdf.

License: MIT License

TypeScript 88.96% JavaScript 2.75% HTML 8.16% CSS 0.13%
postman documentation generator online printable

postmantodoc's Introduction

PostmanToDoc

A simplistic online tool for generating simplistic documentation which is printable using bootstrap.

How to use it?

  • Export your API collection within postman
  • Make sure you select "Collection v2.1" .
  • Open this link: PostmanToDoc.
  • Upload the exported json file.
  • If you only want a webpage, hit Generate.
  • If you want a print window to pop up automatically, check the checkbox "Open Print window automatically.".
  • If you want to download the HTML file, check the checkbox "Download generated html automatically.", if previous option is checked, you need to close the print window first before it starts downloading. Be aware, you still need a internet connection to allow bootstrap to load.
  • If you want to generate again, refresh the page.

Example

Here is a simple generated example: PostmanToDoc Example.

Why?

Obviously, the official documentation generated by postman is 10 times better than what this does. But I needed my documenation in PDF format. Though postman documenation itself can be printed to PDF, it only shows one request and response. But my api documentation contains multiple examples with different responses, so I needed a way to generate documenation that showed all the examples. Unfortunately I couldn't find an already existing alternative that does what I need it to do.

Disclaimer

This is really ugly code. Had to make something real quick. Unless people are actually using it, I won't be actively developing this.

License

MIT

Free Software, Hell Yeah!

postmantodoc's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.