Skip to content

Provide embedded swagger UI for servant and swagger

Notifications You must be signed in to change notification settings

wwwater/servant-swagger-ui

This branch is 1 commit ahead of, 34 commits behind haskell-servant/servant-swagger-ui:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Daria Shubina
Sep 6, 2022
6523de3 · Sep 6, 2022
Mar 21, 2022
Mar 21, 2022
Mar 21, 2022
Mar 21, 2022
Sep 6, 2022
Mar 21, 2022
Jul 15, 2017
Aug 19, 2016
Dec 11, 2018
Mar 21, 2022
Feb 23, 2022
Feb 9, 2018

Repository files navigation

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

About

Provide embedded swagger UI for servant and swagger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.9%
  • CSS 21.7%
  • Other 1.4%