ui

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHandler

func DefaultHandler(specURL string) http.HandlerFunc

DefaultHandler returns handler with default configuration

func Handler

func Handler(config SwaggerUIConfig) http.HandlerFunc

Handler returns HTTP handler for Swagger UI

Types

type SwaggerUIConfig

type SwaggerUIConfig struct {
	Title           string
	SpecURL         string
	AutoRefresh     bool
	RefreshInterval int // milliseconds
}

SwaggerUIConfig Swagger UI configuration

Jump to

Keyboard shortcuts

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