git.iko.soy/typeable/servant-swagger-ui
on v0.2.2.2.2.8 help sign in
23 lines 1.1 kB history raw
1# servant-swagger-ui
3> Servant support for yaml
5[![Build Status](https://travis-ci.org/phadej/servant-swagger-ui.svg?branch=master)](https://travis-ci.org/phadej/servant-swagger-ui)
6[![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](http://hackage.haskell.org/package/servant-swagger-ui)
7[![Stackage LTS 5](http://stackage.org/package/servant-swagger-ui/badge/lts-5)](http://stackage.org/lts-5/package/servant-swagger-ui)
8[![Stackage Nightly](http://stackage.org/package/servant-swagger-ui/badge/nightly)](http://stackage.org/nightly/package/servant-swagger-ui)
10## Example
12![example screenshot](https://raw.githubusercontent.com/phadej/servant-swagger-ui/master/screenshot.png)
14Check [`example/Main.hs`](https://github.com/phadej/servant-swagger-ui/blob/master/example/Main.hs) for an example.
16## Development
18### Updating of bundled swagger-ui version:
20- Extract `dist` directory of `swagger-ui` into `swagger-dist-<version>`
21- move `index.html` into `index.html.tmpl`, do the diff, port the changes
22- search replace the embbeded directory (in `Servant/Swagger/UI.hs`)
23- test it works