Skip to main content

detect_endpoints_from_references

Function detect_endpoints_from_references 

Source
pub fn detect_endpoints_from_references(
    references: &[Reference],
    namespace: &str,
) -> Vec<DetectedEndpoint>
Expand description

Detect API endpoints from call references (Go, Express.js, etc.).

These frameworks register routes via function calls rather than decorators, so they can’t be detected from Symbol.attributes. Instead we scan Reference entries for known route-registration call targets.