mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
The type-discipline refactor inserted _destination_verdict between the @router.get decorator and get_credentials, so FastAPI registered the helper as the listing endpoint. It declares a CredentialItem parameter, which FastAPI reads as a required request body, and every GET /credentials returned 422. Add the GET routing regression test alongside the existing PATCH one; the other tests call get_credentials directly and stay green while the route is dead. |
||
|---|---|---|
| .. | ||
| test_endpoints.py | ||