JSPM

express-swagger-fancy

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q19683F
  • License MIT

A middleware provide fancy look swagger ui.

Package Exports

  • express-swagger-fancy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (express-swagger-fancy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

express-swagger-fancy

Build Status

Thanks to jensoleg's work. quick preview

you will have

  1. Fancy swagger ui.
  2. Ability to test your api.

quick start

npm install express-swagger-fancy --save
import swagger from 'express-swagger-fancy';

// swagger(path to swagger.json file)
app.use('/doc', swagger(path.join(__dirname, '../swagger.json')));

visit http://localhost:port/doc you will see a nice look swagger ui.