Registry / web-framework / swaggest-swgui

swaggest-swgui

JSON →
library1.8.7gogounverified

Package swgui provides an HTTP FileSystem handler for serving Swagger UI interface assets.

go get github.com/swaggest/swgui
INSTALL
IMPORT
SIG · SWAGGEST-SWGUI
S
swaggest-swgui
web-frameworkgov1.8.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

swgui
github.com/swaggest/swgui

Serves Swagger UI at /swagger/ using a local swagger.json spec.

package main import ( "net/http" "github.com/swaggest/swgui/v5" ) func main() { http.Handle("/swagger/", swgui.NewHandler("My API", "/swagger.json", "/swagger/")) http.ListenAndServe(":8080", nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
swaggest-swgui — go get swaggest-swgui · libregistry