MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / ScanRequest

Class ScanRequest

src/main.rs:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected