Thanks to jensoleg's work. quick preview
- Fancy swagger ui.
- Ability to test your api.
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.