swagger-ui

module
v0.0.0-...-a2a745c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: MIT

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

Directories

Path Synopsis
Package assetfs provides an http.FileSystem for go-bindata assets.
Package assetfs provides an http.FileSystem for go-bindata assets.
cmd
swagger-ui command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL