From 60d9c3c03bad9537db25509607a123155055635d Mon Sep 17 00:00:00 2001 From: LamequeFernandes Date: Thu, 1 Sep 2022 16:12:46 -0300 Subject: [PATCH] adicao de rota para turma. #32 Co-Authored-by: JoaoP-Coelho --- src/api/routers/routers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/api/routers/routers.py b/src/api/routers/routers.py index 937db86..447f881 100644 --- a/src/api/routers/routers.py +++ b/src/api/routers/routers.py @@ -1,9 +1,13 @@ from fastapi import APIRouter from src.api.endpoints import professor +from src.api.endpoints import turma api_router = APIRouter() api_router.include_router(professor.router, prefix='/professor', - tags=['professor']) \ No newline at end of file + tags=['professor']) +api_router.include_router(turma.router, + prefix='/turma', + tags=['turma']) \ No newline at end of file