Versions in this module Expand all Collapse all v0 v0.1.1 Jul 29, 2025 Changes in this version + type ConfigOption func(*config) + func WithBaseURL(baseURL string) ConfigOption + func WithDescription(description string) ConfigOption + func WithDocsPath(path string) ConfigOption + func WithOpenAPI(enable ...bool) ConfigOption + func WithSecurity(name string, opts ...SecurityOption) ConfigOption + func WithServer(url string, description ...string) ConfigOption + func WithSwaggerConfig(cfg ...*SwaggerConfig) ConfigOption + func WithTitle(title string) ConfigOption + func WithVersion(version string) ConfigOption + type Route interface + Name func(name string) Route + With func(opts ...option.OperationOption) Route + type Router interface + Add func(method, path string, handler ...fiber.Handler) Route + Connect func(path string, handler ...fiber.Handler) Route + Delete func(path string, handler ...fiber.Handler) Route + GenerateOpenAPISchema func(format ...string) ([]byte, error) + Get func(path string, handler ...fiber.Handler) Route + Group func(prefix string, handlers ...fiber.Handler) Router + Head func(path string, handler ...fiber.Handler) Route + Options func(path string, handler ...fiber.Handler) Route + Patch func(path string, handler ...fiber.Handler) Route + Post func(path string, handler ...fiber.Handler) Route + Put func(path string, handler ...fiber.Handler) Route + Route func(prefix string, fn func(router Router), opts ...option.RouteOption) Router + Static func(prefix, root string, config ...fiber.Static) Router + Trace func(path string, handler ...fiber.Handler) Route + Use func(args ...any) Router + Validate func() error + WriteSchemaTo func(filePath string) error + func NewRouter(r fiber.Router, opts ...ConfigOption) Router + type SecurityOption func(*securityConfig) + func SecurityAPIKey(name string, in openapi31.SecuritySchemeAPIKeyIn) SecurityOption + func SecurityDescription(description string) SecurityOption + func SecurityHTTPBearer(scheme ...string) SecurityOption + func SecurityOauth2(flows openapi31.OauthFlows) SecurityOption + type SwaggerConfig struct + HideCurl bool + JsonEditor bool + PreAuthorizeApiKey map[string]string + Proxy bool + SettingsUI map[string]string + ShowTopBar bool v0.1.0 Jul 28, 2025