Versions in this module Expand all Collapse all v1 v1.0.0 Feb 3, 2026 Changes in this version + func Handler(cfg *config.Config) http.HandlerFunc + type Components struct + Schemas map[string]Schema + type Contact struct + Email string + Name string + URL string + type Info struct + Contact *Contact + Description string + Title string + Version string + type MediaType struct + Schema *Schema + type OpenAPISpec struct + Components Components + Info Info + OpenAPI string + Paths map[string]PathItem + Servers []Server + func GenerateSpec(cfg *config.Config, baseURL string) *OpenAPISpec + type Operation struct + Description string + Parameters []Parameter + RequestBody *RequestBody + Responses map[string]Response + Summary string + Tags []string + type Parameter struct + Description string + In string + Name string + Required bool + Schema *Schema + type PathItem struct + Delete *Operation + Get *Operation + Patch *Operation + Post *Operation + Put *Operation + type RequestBody struct + Content map[string]MediaType + Description string + Required bool + type Response struct + Content map[string]MediaType + Description string + type Schema struct + Example interface{} + Items *Schema + Properties map[string]Schema + Type string + type Server struct + Description string + URL string