This commit is contained in:
2025-09-22 11:11:06 -06:00
parent a53748e419
commit ac075bfeb7
8 changed files with 187 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
from fastapi import APIRouter, HTTPException
from .schema import CoveBaseSchema
from typing import List
from uuid import UUID
router = APIRouter()
# Aquí puedes definir tus endpoints relacionados con COVES usando el esquema CoveBaseSchema
@router.post("/cove/", response_model=CoveBaseSchema)
async def create_cove(cove: CoveBaseSchema):
# Lógica para crear un COVE
return cove