swagger-parse-flowtyped
v0.0.2
Published
swagger-parse-flowtyped
Downloads
4
Readme
swagger-parse-flowtyped
Usage
const swagger = require('swagger-parse-flowtyped')(swaggerJson);
swagger.methods.forEach(method => {
method.parameters.forEach(parameter => {
console.log(parameter.flowType);
});
});
Installation
yarn add swagger-parse-flowtyped
Credit
- https://github.com/chenweiqun/swagger-vue