https://github.com/utilitywarehouse/swagger-ui
A Go Swagger UI
https://github.com/utilitywarehouse/swagger-ui
golang pkg ui
Last synced: 9 months ago
JSON representation
A Go Swagger UI
- Host: GitHub
- URL: https://github.com/utilitywarehouse/swagger-ui
- Owner: utilitywarehouse
- License: mit
- Created: 2017-09-27T10:36:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T16:59:44.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T11:51:06.118Z (11 months ago)
- Topics: golang, pkg, ui
- Language: Go
- Size: 1.24 MB
- Stars: 4
- Watchers: 13
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swagger UI
`go get github.com/utilitywarehouse/swagger-ui/swaggerui`
swaggerui returns a handler with 3 routes
`/` redirects to `/swagger-ui`
`/swagger.json` presents the swagger file. This is looked for in the root of your project, and if you are using `go run` to test your code, because the root is dynamic you must store a swagger.json file in /tmp/swagger.json.
`/swagger-ui` is the UI itself