@gradient/gulp-swagger-bundle

1.0.1 • Public • Published

Gulp Swagger Bundle

Package gulp-swagger-bundle
Description [Gulp][gulp] plugin that bundles [Swagger][swagger].
Node Version >= 0.8

This is a fork of gulp-swagger, it has been stripped down to run a super efficient bundle process for a smaller output file. If you'd like more validation features, see the original.

Install

npm install @gradient/gulp-swagger-bundle

Usage

Output fully parsed schema:

var gulp = require('gulp');
var swagger = require('gulp-swagger');

gulp.task('schema', function() {
  gulp.src('./src/api/index.yaml')
    .pipe(swagger('schema.json'))
    .pipe(gulp.dest('./build'));
});

gulp.task('default', ['schema']);

See Also

  • [Gulp][gulp]
  • [Swagger][swagger]
  • [Swagger-Parser][swagger-parser]
  • [Swagger to JS Codegen][swagger-js-codegen]

Contributing

We welcome contributions, make any changes you like an submit a pull request!

Package Sidebar

Install

npm i @gradient/gulp-swagger-bundle

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • sgmccli
  • bluehat