express-swagger-fancy

A middleware provide fancy look swagger ui.

Usage no npm install needed!

<script type="module">
  import expressSwaggerFancy from 'https://cdn.skypack.dev/express-swagger-fancy';
</script>

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.