Skip to main content

detect_circular_refs

Function detect_circular_refs 

Source
pub fn detect_circular_refs(
    schema: &SchemaOrRef,
    components: Option<&Components>,
    visited: &mut HashSet<String>,
) -> bool
Expand description

Detect circular references in a schema graph using DFS.