Skip to main content

link_http_routes

Function link_http_routes 

Source
pub fn link_http_routes(
    boundaries: &[HttpBoundary],
    tests: &[DeclaredTestCase],
    implementations: &[DeclaredImplementation],
    authorities: &AuthorityMap,
) -> HttpLinkResolution
Expand description

Links HTTP consumers (calls_remote), tests (validates), and implementation anchors (implemented_by) to providers through one route index.

Concrete paths match provider templates; the most specific template wins and equal-shape providers are narrowed by scope. Remaining ties are reported as ambiguities with their candidates instead of edges. authorities maps the hosts named by absolute URLs to the repository that serves them; calls to unknown hosts leave the workspace and are reported as external rather than unmatched.