Skip to content

A small Node.js program to convert Postman collections to Markdown friendly syntax.

License

Notifications You must be signed in to change notification settings

TeamMocha/PostMark

Repository files navigation

PostMark

A small Node.js program to convert Postman collections to Markdown friendly syntax. PostMark takes a collection of API routes from Postman and converts it into Markdown friendly syntax ready to be added to a GitHub README.md file. For our first stage we are using GitHub Flavored Markdown, hopefully adding others if time permits.

Since documentation is incredibly important when hosting a project on GitHub we believe that this will help developers very easily show the routes used in their APIs. This should save the developer time, make using a project easier for users and improve readability of documentation.

PostMark is now available as an installable NodeJS package (at https://www.npmjs.com/package/postmark-it) and is running as a serverless AWS Lambda function (at https://postmark.pixeljava.com/convert) that any user can pass a JSON-based Postman collection to and recieve back Markdown syntax. A site has been created to make the conversion process easier: https://postmark.netlify.app/

Problem Domain: Auto-generating documentation for JSON.

The app takes a Postman Collection JSON file as input and outputs the documentation template in .md format.

Why We Created PostMark:

  • The manual process of documenting routes is unecessarily repetitive.
  • It is also potentially error prone, creating the possibility of incorrect documentation.

What Problems it Solves:

  • Eliminates the manual process of documenting API routes.
  • Minimizes errors in manual copying.

Problem-Domain

Whiteboard/UML

Whiteboard/UML

Requirements

Resources/Links

Node.js

Markdown Features in GitHub

Postman V2.1 Collection Schema

NPM Publish

Authors

Andre Olivier Martin - @Doktor-Doom

Jeremy Penning - @pixeljava

Sowmya Billakanti - @SowmyaBillakanti

Tahmina Ringer - @tahminaringer

About

A small Node.js program to convert Postman collections to Markdown friendly syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •