mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 07:27:10 +00:00
feat: added 409 to swagger
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user