Versions in this module Expand all Collapse all v1 v1.21.0 Mar 13, 2026 Changes in this version + type Edge struct + From NodeID + Kind EdgeKind + Label string + To NodeID + type EdgeKind int + const EdgeAdditionalProps + const EdgeAllOf + const EdgeAnyOf + const EdgeContains + const EdgeDependentSchema + const EdgeElse + const EdgeIf + const EdgeItems + const EdgeNot + const EdgeOneOf + const EdgePatternProperty + const EdgePrefixItems + const EdgeProperty + const EdgePropertyNames + const EdgeRef + const EdgeThen + const EdgeUnevaluatedItems + const EdgeUnevaluatedProps + type NodeID int + type OperationNode struct + ComponentCount int + ID NodeID + Location openapi.Locations + Method string + Name string + Operation *openapi.Operation + OperationID string + Path string + SchemaCount int + type SchemaGraph struct + Operations []OperationNode + Schemas []SchemaNode + func Build(_ context.Context, idx *openapi.Index) *SchemaGraph + func (g *SchemaGraph) Ancestors(id NodeID) []NodeID + func (g *SchemaGraph) ConnectedComponent(schemaSeeds, opSeeds []NodeID) (schemas []NodeID, ops []NodeID) + func (g *SchemaGraph) InEdges(id NodeID) []Edge + func (g *SchemaGraph) Neighbors(id NodeID, maxDepth int) []NodeID + func (g *SchemaGraph) OperationSchemas(opID NodeID) []NodeID + func (g *SchemaGraph) OutEdges(id NodeID) []Edge + func (g *SchemaGraph) Reachable(id NodeID) []NodeID + func (g *SchemaGraph) SchemaByName(name string) (SchemaNode, bool) + func (g *SchemaGraph) SchemaOpCount(id NodeID) int + func (g *SchemaGraph) SchemaOperations(schemaID NodeID) []NodeID + func (g *SchemaGraph) ShortestPath(from, to NodeID) []NodeID + func (g *SchemaGraph) StronglyConnectedComponents() [][]NodeID + type SchemaNode struct + Depth int + HasRef bool + Hash string + ID NodeID + InDegree int + IsBoolean bool + IsCircular bool + IsComponent bool + IsExternal bool + IsInline bool + Location openapi.Locations + Name string + OutDegree int + Path string + PropertyCount int + Schema *oas3.JSONSchemaReferenceable + Type string + UnionWidth int