feat: added 409 to swagger

This commit is contained in:
Андрей Сумин
2025-03-01 20:19:50 +03:00
parent c87bace839
commit fee7de2c82
+2 -1
View File
@@ -6,7 +6,7 @@ from ninja import Router
from ninja.errors import AuthenticationError
from api.v1.auth import BearerAuth
from api.v1.schemas import BadRequestError, ForbiddenError, NotFoundError
from api.v1.schemas import BadRequestError, ForbiddenError, NotFoundError, ConflictError
from api.v1.user.schemas import (
LoginSchema,
RegisterSchema,
@@ -23,6 +23,7 @@ router = Router(tags=["user"])
response={
status.CREATED: TokenSchema,
status.BAD_REQUEST: BadRequestError,
status.CONFLICT: ConflictError,
},
auth=None,
)