router tags

This commit is contained in:
Jörn-Michael Miehe 2022-03-24 23:45:01 +00:00
parent c117698e48
commit 972359cb49
2 changed files with 2 additions and 2 deletions

View file

@ -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(

View file

@ -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):