File size: 248 Bytes
c109b62
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# backend/schemas.py
from pydantic import BaseModel
from typing import List, Optional

class FileModel(BaseModel):
    filename: str
    content: str

class ScanRequest(BaseModel):
    files: List[FileModel]
    language: str = "python"