3*Provide a Swagger UI for your Servant API*
5"[Swagger UI](http://swagger.io/swagger-ui/) allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place."
7[](https://travis-ci.org/phadej/servant-swagger-ui)
8[](http://hackage.haskell.org/package/servant-swagger-ui)
9[](http://stackage.org/lts-5/package/servant-swagger-ui)
10[](http://stackage.org/nightly/package/servant-swagger-ui)
14
16Check [`example/Main.hs`](https://github.com/phadej/servant-swagger-ui/blob/master/example/Main.hs) for an example.
20### Updating of bundled swagger-ui version:
22- Extract `dist` directory of `swagger-ui` into `swagger-dist-<version>`
23- move `index.html` into `index.html.tmpl`, do the diff, port the changes
24- search replace the embbeded directory (in `Servant/Swagger/UI.hs`)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list