Versions in this module Expand all Collapse all v0 v0.5.0 Jul 16, 2026 v0.4.0 Apr 2, 2026 Changes in this version + func WithRouter(mux httpx.ServeMux, title, version string, opts ...doc.Option) httpx.Mux + type Router struct + func NewRouter(title, version string, opts ...doc.Option) *Router + func UseRouter(mux httpx.ServeMux) *Router + func (r *Router) GetDocument() *v3.Document + func (r *Router) Handle(pattern string, opt op.Option, handler http.Handler) + func (r *Router) HandleFunc(pattern string, opt op.Option, ...) + func (r *Router) OpenAPIJSONHandler() http.HandlerFunc + func (r *Router) OpenAPIYAMLHandler() http.HandlerFunc + func (r *Router) Operation(pattern string, opt op.Option) + func (r *Router) Path(pattern string, p *pathitem.Path) + func (r *Router) ReferenceHandler(options *scalar.Options) http.HandlerFunc + func (r *Router) Route(pattern string, opt op.Option, ...) + func (r *Router) WithMux(mux httpx.ServeMux) *Router