rchen / swagger2blueprint

Convert Swagger API descriptions into API Blueprint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger to API Blueprint Converter

Converts a Swagger API description into the API Blueprint format. It is built on the Fury.js API description library.

Currently supported is Swagger version 2.0. If you would like to convert a Swagger 1.2 document, please first use swagger-converter.

Installation

Requires Node.js and a compiler to install.

npm install -g swagger2blueprint

Usage

# Convert a local file to standard out
swagger2blueprint uber.yml

# Output to a file
swagger2blueprint uber.yml uber.apib

# Convert a URL
swagger2blueprint http://petstore.swagger.io/v2/swagger.json

License

MIT License. See the LICENSE file.

About

Convert Swagger API descriptions into API Blueprint

License:MIT License


Languages

Language:JavaScript 100.0%