feat: improve on api structure, add openapi tags (#2295)
this logically groups api endpoints and gioves them specific openapi tags. which makes them nice on the `/docs` endpoint and makes the `api.py` more approachable * add wallets list endpoint * remove trailing slashes from endpoints * fixup topup url * fix trailing slash on auth * backwards compatibility
This commit is contained in:
@@ -20,7 +20,7 @@ from ..crud import (
|
||||
get_tinyurl_by_url,
|
||||
)
|
||||
|
||||
tinyurl_router = APIRouter()
|
||||
tinyurl_router = APIRouter(tags=["Tinyurl"])
|
||||
|
||||
|
||||
@tinyurl_router.post(
|
||||
|
||||
Reference in New Issue
Block a user