mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(feat) add swagger.json for litellm proxy
This commit is contained in:
parent
591f4ef7ee
commit
99b51829b4
2 changed files with 238 additions and 1 deletions
|
@ -69,7 +69,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|||
import json
|
||||
import logging
|
||||
|
||||
app = FastAPI()
|
||||
app = FastAPI(docs_url="/", title="LiteLLM API")
|
||||
router = APIRouter()
|
||||
origins = ["*"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue