Bihan-Banerjee
initial commit
c109b62
raw
history blame
248 Bytes
# 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"