Versions in this module Expand all Collapse all v1 v1.1.5 Jun 8, 2026 v1.1.4 Jun 8, 2026 Changes in this version + var Registry = &APIRegistry + func SwaggerUIHandler(swaggerJSONURL string) http.HandlerFunc + type APIRegistry struct + Desc string + Routes map[string]*RouteDoc + Title string + func (r *APIRegistry) GenerateOpenAPI() map[string]interface{} + func (r *APIRegistry) GetRoutes() []*RouteDoc + func (r *APIRegistry) Register(method, path string, doc *RouteDoc) + func (r *APIRegistry) ToJSON() ([]byte, error) + type MediaTypeDoc struct + Schema SchemaDoc + type ParamDoc struct + Description string + In string + Name string + Required bool + Type string + type Property struct + Type string + type RequestBodyDoc struct + Content map[string]MediaTypeDoc + type ResponseDoc struct + Description string + type RouteDoc struct + Description string + Method string + Params []ParamDoc + Path string + RequestBody *RequestBodyDoc + Responses map[string]ResponseDoc + Summary string + Tags []string + type SchemaDoc struct + Properties map[string]Property + Type string