Skip to content

Commit

Permalink
add router tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent bef3b5d commit 225eeb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/api/health.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from fastapi import APIRouter
from fastapi import Response

health_router = APIRouter()
health_router = APIRouter(tags=["Service Health API"])


@health_router.get("/_health")
Expand Down
2 changes: 1 addition & 1 deletion app/api/v1/cheesegull.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from app.common_models import GameMode
from app.common_models import RankedStatus

router = APIRouter()
router = APIRouter(tags=["Cheesegull API"])


class CheesegullBeatmap(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion app/api/v1/osu_api_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from app.adapters.osu_api_v2 import api
from app.api.responses import JSONResponse

router = APIRouter()
router = APIRouter(tags=["osu! API v2 Mirror"])


@router.get("/api/v2/beatmapsets/{beatmapset_id}")
Expand Down
2 changes: 1 addition & 1 deletion app/api/v1/osz2_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from app.adapters.beatmap_mirrors import mirror_aggregate

router = APIRouter()
router = APIRouter(tags=["osz2 Files"])


@router.get("/api/d/{beatmapset_id}")
Expand Down

0 comments on commit 225eeb7

Please sign in to comment.