Popularity
8.9
Stable
Activity
5.3
-
45
6
34
Monthly Downloads: 146
Programming language: JavaScript
License: BSD 3-clause "New" or "Revised" License
servant-swagger-ui alternatives and similar packages
Based on the "servant" category.
Alternatively, view servant-swagger-ui alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
servant-generate
Generate default implementations for servers in a flexible way (a.k.a servant-mock on steroids)
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of servant-swagger-ui or a related project?
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."
Example
Check servant-swagger-ui-example/src/Main.hs
for an example.
Development
Updating of bundled swagger-ui version:
- Extract
dist
directory ofswagger-ui
intoswagger-dist-<version>
. Remove the*.map
files. - update
extra-source-files
in the.cabal
- move
index.html
intoindex.html.tmpl
, do the diff, port the changes - search replace the embbeded directory (in
Servant/Swagger/UI.hs
) - test it works