diff --git a/api/kiwi_vpn_api/routers/admin.py b/api/kiwi_vpn_api/routers/admin.py index 9e1f8bc..f3e6daf 100644 --- a/api/kiwi_vpn_api/routers/admin.py +++ b/api/kiwi_vpn_api/routers/admin.py @@ -10,7 +10,7 @@ from ..db import Connection from ..db.schemas import User, UserCapability, UserCreate from ._common import Responses, get_current_user -router = APIRouter(prefix="/admin") +router = APIRouter(prefix="/admin", tags=["admin"]) @router.put( diff --git a/api/kiwi_vpn_api/routers/user.py b/api/kiwi_vpn_api/routers/user.py index 95f2576..63e2b22 100644 --- a/api/kiwi_vpn_api/routers/user.py +++ b/api/kiwi_vpn_api/routers/user.py @@ -12,7 +12,7 @@ from ..db import Connection from ..db.schemas import User, UserCapability, UserCreate from ._common import Responses, get_current_user, get_current_user_if_admin -router = APIRouter(prefix="/user") +router = APIRouter(prefix="/user", tags=["user"]) class Token(BaseModel):