Popularity
8.6
Growing
Activity
1.4
-
27
6
20

Monthly Downloads: 33
Programming language: JavaScript
License: BSD 3-clause "New" or "Revised" License
Tags: Web     Servant     Swagger    

servant-swagger-ui alternatives and similar packages

Based on the "servant" category

Do you think we are missing an alternative of servant-swagger-ui or a related project?

Add another 'servant' Package

README

servant-swagger-ui

Provide a Swagger UI for your Servant API

"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."

Build Status Hackage Stackage LTS 5 Stackage Nightly

Example

example screenshot

Check servant-swagger-ui-example/src/Main.hs for an example.

Development

Updating of bundled swagger-ui version:

  • Extract dist directory of swagger-ui into swagger-dist-<version>. Remove the *.map files.
  • update extra-source-files in the .cabal
  • move index.html into index.html.tmpl, do the diff, port the changes
  • search replace the embbeded directory (in Servant/Swagger/UI.hs)
  • test it works