Coder Social home page Coder Social logo

postman2apiary's Introduction

Postman2Apiary

Tool for generating Blueprint API markup or the Apiary API from a Postman collection.

Edit your postman collection requests with relevant names and description. Import postman_collection.json from postman2apiary/app/ for a quick demo on how to name and describe your requests. Expected output should be something like Polls api documentation.

Prerequisites

python version 3+

Installation

git clone https://github.com/p8ul/postman2apiary.git
cd postman2apiary/app

Usage

CLI application Application takes three arguments.
USAGE: $ python run.py [postman.json-file] [output-file.apid]

postman.json-file: Json file exported from Postman collection
output-file.apid: Name of your api markup file to be generated.

Contribution

Contributions are greatly appreciated. What is most lacking is indentation on request & response expected json. Tests would be super-greatly appreciated too.

License

Postman2apiary is MIT Licensed

postman2apiary's People

Contributors

p8ul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

postman2apiary's Issues

Postman collection V2.1

When using Postman Collection v2.1 error

Traceback (most recent call last):
  File "run.py", line 35, in <module>
    main()
  File "run.py", line 28, in main
    app = PostmanToApiary(data)
  File "path\converter.py", line 22, in __init__
    self.get_data()
  File "path\converter.py", line 33, in get_data
    self.name = self.data['name']
KeyError: 'name'```

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.