Skip to main content

drift

Function drift 

Source
pub fn drift(
    routes: &[(String, String)],
    document: &Value,
    not_documented: &[&str],
) -> Drift
Expand description

Compare the mounted routes, as (method, full path) from AppRoutes::mounted, with document’s paths, ignoring parameter names. not_documented lists paths a service keeps out on purpose, such as its health probes.