This version can be pinned in stack with:servant-swagger-ui-0.2.5.3.9.1@sha256:db4229b909ff4cb82cff7472efab87a81057afb943bac61ddb6fce9d3eeb919a,4983
Module documentation for 0.2.5.3.9.1
Depends on 17 packages
(full list with versions ) :
base ,
blaze-markup ,
bytestring ,
directory ,
file-embed ,
filepath ,
http-media ,
servant ,
servant-blaze ,
servant-server ,
servant-swagger ,
swagger2 ,
template-haskell ,
text ,
transformers ,
transformers-compat ,
wai-app-static 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 example/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
0.2.5.3.9.1
Support servant-0.13
Update to swagger-ui-3.9.1
0.2.4.3.4.0
Update to swagger-ui-3.4.0
0.2.4.3.0.20
Update to swagger-ui-3.0.20
0.2.3.2.2.8
0.2.2.2.2.8
0.2.1.2.2.8
Update to swagger-ui-2.2.8
Add support for jensoleg theme
0.2.0.2.1.5
0.1.1.2.1.4
Documentation and example improvements
Stackage is a service provided by the
Haskell Foundation
│ Originally developed by
FP Complete