Versions in this module Expand all Collapse all v1 v1.0.1 Aug 25, 2026 v1.0.0 Aug 25, 2026 Changes in this version + var BoolSchema *openapi3.SchemaRef + var IdSchema *openapi3.SchemaRef + func AddSecuritySchema(id, header, description string) + func AddTag(name, description string) + func AddWebhook(wdoc *WebhookDoc) + func Route(doc *Doc) + func SchemaInject(s any) openapi3gen.Option + func SetSchema(new Openapi) + func Setup() + type Component struct + RequestBodies map[string]ReqBody + Schemas map[string]any + Security map[string]Security + type Contact struct + Email string + Name string + URL string + type Content struct + Schema any + type Doc struct + AuthType []string + Description string + Method string + OpId string + Params []Parameter + Pattern string + Req any + Resp any + RespName string + Summary string + Tags []string + type Info struct + Contact Contact + Description string + License License + TermsOfService string + Title string + Version string + type License struct + Name string + URL string + type Openapi struct + Components Component + Info Info + OpenAPI string + Paths *orderedmap.OrderedMap[string, Path] + Servers []Server + Tags []Tag + Webhooks *orderedmap.OrderedMap[string, Path] + func GetSchema() Openapi + type Operation struct + Description string + ID string + Parameters []Parameter + RequestBody *Schema + Responses map[string]Response + Security []map[string][]string + Servers []Server + Summary string + Tags []string + type Parameter struct + Description string + In string + Name string + Required bool + Schema any + type Path struct + Delete *Operation + Description string + Get *Operation + Head *Operation + Patch *Operation + Post *Operation + Put *Operation + Summary string + type ReqBody struct + Content map[string]Content + Description string + Required bool + type Response struct + Content map[string]SchemaResp + Description string + type Schema struct + Properties map[string]any + Ref string + Required []string + Type string + type SchemaResp struct + Schema Schema + type Security struct + Description string + In string + Name string + Type string + type Server struct + Description string + URL string + Variables map[string]any + type SetupData struct + ErrorStruct any + Info Info + ServerDescription string + URL string + var DocsSetupData *SetupData + type Tag struct + Description string + Name string + type WebhookDoc struct + Description string + Format any + FormatName string + Name string + Summary string + Tags []string