mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix swagger
This commit is contained in:
parent
b1599c3f40
commit
2dcc484e5d
1 changed files with 5 additions and 1 deletions
|
@ -10688,7 +10688,11 @@ async def get_routes():
|
||||||
|
|
||||||
|
|
||||||
#### TEST ENDPOINTS ####
|
#### TEST ENDPOINTS ####
|
||||||
@router.get("/token/generate", dependencies=[Depends(user_api_key_auth)])
|
@router.get(
|
||||||
|
"/token/generate",
|
||||||
|
dependencies=[Depends(user_api_key_auth)],
|
||||||
|
include_in_schema=False,
|
||||||
|
)
|
||||||
async def token_generate():
|
async def token_generate():
|
||||||
"""
|
"""
|
||||||
Test endpoint. Admin-only access. Meant for generating admin tokens with specific claims and testing if they work for creating keys, etc.
|
Test endpoint. Admin-only access. Meant for generating admin tokens with specific claims and testing if they work for creating keys, etc.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue