John Olheiser
0eba95e3ae
Signed-off-by: jolheiser <john.olheiser@gmail.com> |
||
---|---|---|
_example | ||
.gitignore | ||
go.mod | ||
LICENSE | ||
README.md | ||
swagui.go | ||
template.go |
Swagger UI
A quick router implementation of Swagger UI.
Configuration
You can pass your own entire JS setup using swagui.WithScript()
. This seemed simpler than trying to
re-create all the options in Go.
The default configuration is just how I like to present Swagger UI, so it may need some adjustments for your liking.
See Swagger UI Configuration.
Examples
swagui
go run _example/swagui/main.go
default from Swagger UI documentation
go run _example/default/main.go