Versions in this module Expand all Collapse all v0 v0.0.2 Feb 17, 2026 Changes in this version + func AddPath(path, method string, s *openapi3.T, op *openapi3.Operation) + func Delete(doc *openapi3.T, path, operationID string, ep Endpoint) + func DocBase(serviceName, description, version string) *openapi3.T + func Get(doc *openapi3.T, path, operationID string, ep Endpoint) + func NewRequest(vs ...any) (*openapi3.RequestBodyRef, error) + func NewRequestMust(vs ...any) *openapi3.RequestBodyRef + func NewResponse(vs map[string]Response) (*openapi3.Responses, error) + func NewResponseMust(vs map[string]Response) *openapi3.Responses + func NewSchemaRefForValue(value any) (*openapi3.SchemaRef, error) + func Patch(doc *openapi3.T, path, operationID string, ep Endpoint) + func Post(doc *openapi3.T, path, operationID string, ep Endpoint) + func Put(doc *openapi3.T, path, operationID string, ep Endpoint) + func SwaggerHandler(prefix string, s *openapi3.T) (http.Handler, error) + func SwaggerHandlerMust(prefix string, s *openapi3.T) http.Handler + type Endpoint struct + Description string + Request any + Requests []any + Response any + Responses map[string]Response + Summary string + type Response struct + Bodies []any + Desc string