pub trait RouteExtractor {
// Required method
fn extract_routes(&self, parsed_files: &[ParsedFile]) -> Vec<RouteInfo>;
}Expand description
Trait for extracting route information from parsed Rust files.
Implementations of this trait know how to analyze the AST of a specific web framework and extract route definitions, including paths, HTTP methods, parameters, and type information.