{"id":23185785,"url":"https://github.com/haskell-servant/servant-swagger-ui","last_synced_at":"2025-04-09T15:08:13.371Z","repository":{"id":33155150,"uuid":"50766789","full_name":"haskell-servant/servant-swagger-ui","owner":"haskell-servant","description":"Provide embedded swagger UI for servant and swagger","archived":false,"fork":false,"pushed_at":"2025-03-31T14:47:52.000Z","size":17249,"stargazers_count":46,"open_issues_count":16,"forks_count":35,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T15:08:05.999Z","etag":null,"topics":["hacktoberfest","haskell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haskell-servant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-31T09:21:05.000Z","updated_at":"2025-03-24T17:15:10.000Z","dependencies_parsed_at":"2024-06-20T00:07:28.805Z","dependency_job_id":"05fe90cf-809b-4b55-b7e9-4a40bf28aba5","html_url":"https://github.com/haskell-servant/servant-swagger-ui","commit_stats":{"total_commits":115,"total_committers":19,"mean_commits":6.052631578947368,"dds":"0.35652173913043483","last_synced_commit":"2980a2674705df45b9862042024f57eb0e8106d2"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-servant%2Fservant-swagger-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-servant%2Fservant-swagger-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-servant%2Fservant-swagger-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-servant%2Fservant-swagger-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell-servant","download_url":"https://codeload.github.com/haskell-servant/servant-swagger-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","haskell"],"created_at":"2024-12-18T10:12:44.621Z","updated_at":"2025-04-09T15:08:13.351Z","avatar_url":"https://github.com/haskell-servant.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# servant-swagger-ui\n\n*Provide a Swagger UI for your Servant API*\n\n\"[Swagger UI](http://swagger.io/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.\"\n\n[![Build Status](https://travis-ci.org/phadej/servant-swagger-ui.svg?branch=master)](https://travis-ci.org/phadej/servant-swagger-ui)\n[![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](http://hackage.haskell.org/package/servant-swagger-ui)\n[![Stackage LTS 5](http://stackage.org/package/servant-swagger-ui/badge/lts-5)](http://stackage.org/lts-5/package/servant-swagger-ui)\n[![Stackage Nightly](http://stackage.org/package/servant-swagger-ui/badge/nightly)](http://stackage.org/nightly/package/servant-swagger-ui)\n\n## Example\n\n![example screenshot](https://raw.githubusercontent.com/haskell-servant/servant-swagger-ui/master/screenshot.png)\n\nCheck [`servant-swagger-ui-example/src/Main.hs`](https://github.com/haskell-servant/servant-swagger-ui/blob/master/servant-swagger-ui-example/src/Main.hs) for an example.\n\n## Development\n\n### Updating of bundled swagger-ui version:\n\n- Extract `dist` directory of `swagger-ui` into `swagger-dist-\u0026lt;version\u0026gt;`. Remove the `*.map` files.\n- update `extra-source-files` in the `.cabal`\n- move `index.html` into `index.html.tmpl`, do the diff, port the changes\n- search replace the embbeded directory (in `Servant/Swagger/UI.hs`)\n- test it works\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell-servant%2Fservant-swagger-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaskell-servant%2Fservant-swagger-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell-servant%2Fservant-swagger-ui/lists"}