mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix swagger
This commit is contained in:
parent
b4057dc022
commit
1b271aa95c
1 changed files with 5 additions and 1 deletions
|
@ -10688,7 +10688,11 @@ async def get_routes():
|
|||
|
||||
|
||||
#### 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():
|
||||
"""
|
||||
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