(feat) add swagger.json for litellm proxy

This commit is contained in:
ishaan-jaff 2023-10-13 20:40:58 -07:00
parent 591f4ef7ee
commit 99b51829b4
2 changed files with 238 additions and 1 deletions

View file

@ -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 = ["*"]