docs

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScalarHandler added in v0.5.1

func ScalarHandler(config ScalarConfig) echo.HandlerFunc

ScalarHandler returns an Echo handler that serves the API Explorer page

Types

type ScalarConfig added in v0.5.1

type ScalarConfig struct {
	Title           string // Default: "API Explorer"
	SpecURL         string // Default: "/swagger.json"
	AuthEnabled     bool   // Default: false
	AuthDescription string // Default: "" (Hidden if empty or AuthEnabled is false)
	SidebarWidth    string // Default: "450px"
}

ScalarConfig holds configuration for the API Explorer (Scalar UI)

Jump to

Keyboard shortcuts

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