Skip to main content

structure

Function structure 

Source
pub fn structure(
    args: &DataModelStructureArgs,
    cfg: &Config,
    client: &dyn DspClient,
    renderer: &mut dyn Renderer,
) -> Result<(), Diagnostic>
Expand description

Show the structure of a single data-model (links + inheritance relations).

Authentication is optional (public endpoint per ADR-0007). Reads DSP_TOKEN from the environment (env wins over cache per ADR-0007), and delegates all work to run_structure_impl with injectable seams for deterministic testing.