swagger

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenAPISpec

func GetOpenAPISpec() ([]byte, error)

GetOpenAPISpec returns the embedded OpenAPI spec for testing

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(baseURL string) (*Handler, error)

func (*Handler) RegisterRoutes

func (h *Handler) RegisterRoutes(r chi.Router)

func (*Handler) ServeOpenAPISpec

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

func (*Handler) ServeSwaggerUI

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

Jump to

Keyboard shortcuts

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