Skip to main content

build_spec_filtered

Function build_spec_filtered 

Source
pub fn build_spec_filtered(
    info: &OpenApiInfo,
    allowed_controllers: Option<&HashSet<&'static str>>,
) -> Value
Expand description

allowed_controllers = None means “include every inventory-registered route” (legacy / no module scoping). Some(set) filters to controllers reachable from the root module’s import DAG.