| 9 | |
| 10 | #[derive(Deserialize)] |
| 11 | struct ScanRequest { |
| 12 | path: Option<String>, |
| 13 | url: Option<String>, |
| 14 | ai: bool, |
| 15 | json_output: bool, |
| 16 | } |
| 17 | |
| 18 | #[post("/scan")] |
| 19 | async fn scan(req: web::Json<ScanRequest>) -> impl Responder { |
nothing calls this directly
no outgoing calls
no test coverage detected