Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

zzswang/express-swagger-fancy

Repository files navigation

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.