litellm/tests/unit/proxy/utils
mrinal-berri cb200a83cc
feat(proxy)!: make Scalar the default API reference and remove ReDoc (#53063)
* feat(proxy): serve Scalar as the default API reference

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): keep Scalar assets on the gateway

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): register the Scalar endpoint explicitly

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): validate the Scalar request root path

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): keep Swagger and ReDoc alongside Scalar

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style(proxy): format the Swagger renderer

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* feat(proxy): use Scalar for control plane API docs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): preserve control plane docs tracing exclusions

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(proxy): prioritize API viewer routes over static assets

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(control-plane): skip tracing API reference assets

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(control-plane): trace API requests outside docs asset mounts

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore: mark vendored Scalar bundle as generated

* fix(proxy): serve API viewers from the split backend

* fix(proxy): satisfy docs routing and bundle lint checks

* docs(proxy): explain why FastAPI docs are disabled

* docs(proxy): clarify API viewer registration order

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-23 10:49:54 -08:00
..
helpers feat(proxy)!: make Scalar the default API reference and remove ReDoc (#53063) 2026-11-23 10:49:54 -08:00
prisma_and_spend perf(proxy): coalesce empty auto-router baseline recovery polls (#52523) 2026-11-19 00:20:59 +00:00
proxy_logging feat(guardrails): hold streamed tool calls for the verdict and log prompts blocked with a reply (#51872) 2026-11-20 16:58:15 -08:00
__init__.py