Socket
Book a DemoInstallSign in
Socket

@gradient/gulp-swagger-bundle

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gradient/gulp-swagger-bundle

Gulp plugin which bundles swagger API docs

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
2
Created
Source

Gulp Swagger Bundle

Packagegulp-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!

Keywords

gulp

FAQs

Package last updated on 08 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts