Versions in this module Expand all Collapse all v0 v0.3.0 Apr 29, 2026 Changes in this version + func DefaultServiceFromSource(source string) string + func ResolveServiceName(serviceOverride, title, sourceHint string) (string, error) + type APISpec struct + Paths []PathItem + Title string + Version string + type GETOperation struct + OperationID string + Parameters []Parameter + Path string + type Loader interface + Load func(ctx context.Context, ref string) (APISpec, error) + type NestedSpec struct + Paths *PathNode + Title string + Version string + func BuildNestedSpec(api APISpec) (*NestedSpec, error) + type Operation struct + OperationID string + Parameters []Parameter + type OperationSpec struct + HeaderParams []ParameterSpec + ID string + PathArgNames []string + PathFormat string + PathTemplate string + QueryParams []ParameterSpec + type Parameter struct + In string + Name string + Required bool + type ParameterSpec struct + Name string + Required bool + type Parser interface + Parse func(ctx context.Context, spec string) (APISpec, error) + type PathItem struct + Get *Operation + Parameters []Parameter + Path string + type PathNode struct + Children map[string]*PathNode + Operation *OperationSpec