add swagger docs to signin and signup endooints

This commit is contained in:
Timur Kh.
2025-02-28 21:51:19 +03:00
parent 5fece08457
commit a066c9a8b5
9 changed files with 82 additions and 0 deletions
+5
View File
@@ -4,6 +4,7 @@ from ninja import NinjaAPI
from api.v1 import handlers
from api.v1.ping.views import router as ping_router
from api.v1.users.views import router as users_router
router = NinjaAPI(
title="project_name API",
@@ -17,6 +18,10 @@ router.add_router(
"ping",
ping_router,
)
router.add_router(
"",
users_router,
)
for exception, handler in handlers.exception_handlers: