blueprint-transactions
Compile HTTP transactions (request-response pairs) from API Blueprint AST
Last updated 5 years ago by netmilk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install blueprint-transactions 
SYNC missed versions from official npm registry.

Compile HTTP request-response pairs from API Blueprint AST

Build Status Dependency Status devDependency Status Coverage Status

NPM

This library takes API Blueprint AST and returns specific HTTP transactions (Request and Response pair).

  • Inherits parameters from parent Resource and Action sections
  • Expands URI templates
  • Warns on undefined URI query and path parameters
  • Validates URI parameteres types
  • Assigns origin object pointing to the Blueprint AST
  • Compiles Transaction name string for each transaction

Installation

npm install blueprint-transactions

Usage

compiler = require('blueprint-transactions')

transactions = compiler.compile(ast, './apiay.apib')

Contribution

Any contribution is more than welcome!

Fork, write tests, write clean, readable code which communicate, use scripts/bdd, keep the test coverage and create a pull request.

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

2 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |