docs

package
v0.0.0-...-32533e6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func NewHandler

func NewHandler() *Handler

func (*Handler) ServeSpec

func (h *Handler) ServeSpec(w http.ResponseWriter, r *http.Request)

ServeSpec serves the raw OpenAPI spec as YAML.

func (*Handler) ServeUI

func (h *Handler) ServeUI(w http.ResponseWriter, r *http.Request)

ServeUI serves a minimal Swagger UI page pointed at /openapi.yaml. Swagger UI assets are loaded from a CDN rather than vendored, to keep the binary and repo small — acceptable for an internal/dev-facing docs page, not for an air-gapped deployment.

Jump to

Keyboard shortcuts

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