Versions in this module Expand all Collapse all v0 v0.3.0 May 26, 2026 Changes in this version + func AddRequestExample(op *openapi31.Operation, name string, value interface{}) + func AddResponseExample(op *openapi31.Operation, status int, name string, value interface{}) + func ApplyAPIKey(spec *Spec31, name, fieldName, in string) + func ApplyBasicAuth(spec *Spec31, name string) + func ApplyBearerJWT(spec *Spec31, name string) + func ApplyBearerToken(spec *Spec31, name, bearerFormat string) + func ApplyDefaultSecurity(spec *Spec31, schemeNames []string) + func ApplyExternalDocs(spec *Spec31, url, description string) + func ApplyMutualTLS(spec *Spec31, name string) + func ApplyOAuth2AuthorizationCode(spec *Spec31, name, authURL, tokenURL string, scopes map[string]string) + func ApplyOAuth2ClientCredentials(spec *Spec31, name, tokenURL string, scopes map[string]string) + func ApplyOAuth2Implicit(spec *Spec31, name, authURL string, scopes map[string]string) + func ApplyOAuth2Password(spec *Spec31, name, tokenURL string, scopes map[string]string) + func ApplyOIDC(spec *Spec31, name, discoveryURL string) + func ApplyOperationExternalDocs(op *openapi31.Operation, url, description string) + func ApplyServers(spec *Spec31, urls []string, descs []string) + func ApplyTags(spec *Spec31, names, descriptions []string) + func EnsurePathParameter(op *openapi31.Operation, name string) + func ExposeOperation(oc OperationContext) *openapi31.Operation + func NewSwaggerUIHandler(title, specURL, basePath string) http.Handler + func OperationOn(r Reflector, method, path string) *openapi31.Operation + type ContentOption = openapi.ContentOption + func WithHTTPStatus(status int) ContentOption + type OperationContext = openapi.OperationContext + type Reflector = openapi.Reflector + func NewReflector() Reflector + type Spec31 = openapi31.Spec + func Spec(r Reflector) *Spec31