api-blueprint-to-postman
v0.1.0
Published
Convert API Blueprint to Postman collection
Downloads
5
Readme
api-blueprint-to-postman
Work In Progress! Funtionality is incomplete and/or possibly incorrect!
Please be patient as I figure out the structure of both blueprint and postman files and implement more functionality.
Convert an API Blueprint into a Postman collection.
Installation
Usage
// get a JSON structure in compliance with API Blueprint Serialization Scheme
var blueprint = require('blueprint.json');
// get this module
var api_blueprint_to_postman = require('api-blueprint-to-postman');
// call this module as a function with the JSON as input
var collection = api_blueprint_to_postman(blueprint);
// output is another JSON object compliant with postman collection scheme
fs.writeFileSync('collection.json.postman_collection', JSON.stringify(collection));