litellm/tests/unit/proxy/utils/helpers
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
..
__init__.py
test_error_helpers.py
test_guardrail_merge.py fix(responses): run the guardrails a Responses WebSocket frame selects (#48725) 2026-10-30 14:12:51 -07:00
test_misc_helpers.py
test_model_access.py fix(openrouter)!: list OpenRouter's live catalog for openrouter/* when check_provider_endpoint is on (#48820) 2026-10-30 12:19:51 -07:00
test_month_end_projection.py
test_premium_user_check.py
test_team_configs.py
test_to_ns.py
test_url_helpers.py feat(proxy)!: make Scalar the default API reference and remove ReDoc (#53063) 2026-11-23 10:49:54 -08:00