Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + type ExportRequest struct + Format string + Path string + type Generator struct + func (Generator) Generate(ctx context.Context, request Request) (*openapi3.OpenAPI, error) + type Handler struct + func NewHandler(ctx context.Context, request Request) (*Handler, error) + func (h *Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request) + type Request struct + Components []*registry.RegisteredComponent + Info openapi3.Info + Routes []spec.RouteRef + Visibility Visibility + type ServeOptions struct + DefaultFormat string + Negotiate bool + type Snapshot struct + func NewSnapshot(ctx context.Context, request Request) (*Snapshot, error) + func (s *Snapshot) Export(format string) ([]byte, error) + func (s *Snapshot) Handler(options ServeOptions) (*Handler, error) + type Visibility interface + RouteByMethodPath func(method, path string) (*spec.Route, bool)