1.0.1 • Published 7 years ago

@gradient/gulp-swagger-bundle v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Gulp Swagger Bundle

Packagegulp-swagger-bundle
DescriptionGulp plugin that bundles 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

Contributing

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