siwa
根据swagger规格描述来解析成更易于js处理的对象。
$ npm install siwa --save
var spec = '{"swagger": "2.0"}';
var Siwa = require('siwa');
var siwa = new Siwa(spec); // spec can be json object, stringify json or yaml string
console.log(siwa.parse());
Parse the specification for further usage.
Compare two spec is the same.