Versions in this module Expand all Collapse all v0 v0.0.4 Jul 28, 2025 Changes in this version + type Components struct + Schemas map[string]Schema + SecuritySchemes map[string]SecurityScheme + type Info struct + Description string + Title string + Version string + type MediaType struct + Schema Schema + type OpenAPISchema struct + Components Components + Info Info + OpenAPI string + Paths map[string]PathItem + Security []map[string][]string + Servers []Server + Specs []ToolSpec + func GenerateOpenAPISchema(serverName string, tools []Tool) (*OpenAPISchema, error) + type Operation struct + Description string + MCPHints *ToolAnnotations + MCPMethod string + OperationID string + RequestBody RequestBody + Responses map[string]Response + Security []map[string][]string + Summary string + Tags []string + type PathItem struct + Post Operation + type RequestBody struct + Content map[string]MediaType + Required bool + type Response struct + Content map[string]MediaType + Description string + type Schema struct + AdditionalProperties *Schema + Description string + Items *Schema + Properties map[string]Schema + Ref string + Required []string + Type string + type SecurityScheme struct + BearerFormat string + In string + Name string + Scheme string + Type string + type Server struct + Description string + URL string + type Tool struct + Annotations *ToolAnnotations + Description string + InputSchema map[string]interface{} + Name string + type ToolAnnotations struct + DestructiveHint bool + IdempotentHint bool + OpenWorldHint bool + ReadOnlyHint bool + type ToolSpec struct + Annotations *ToolAnnotations + Description string + Name string + Parameters map[string]interface{} + Type string