From 972359cb49ad261712dc0260bce969a13ccc7269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 24 Mar 2022 23:45:01 +0000 Subject: [PATCH] router tags --- api/kiwi_vpn_api/routers/admin.py | 2 +- api/kiwi_vpn_api/routers/user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):