apiv2
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user