From 3c5b46728430909fe6724f96270b46eee0adc709 Mon Sep 17 00:00:00 2001 From: derhornspieler <15236687+derhornspieler@users.noreply.github.com> Date: Sun, 23 Aug 2026 13:04:41 -0400 Subject: [PATCH] chore(ui): regenerate the dashboard API types for the split credential schema Excluding credential_values_to_delete from dumps makes pydantic emit separate input and output schemas for CredentialItem, since the field is accepted on a write and absent from every read. The generated types now say so: the credential read routes return the output shape, which no longer carries the PATCH-only field, and only the write route accepts it --- ui/litellm-dashboard/src/lib/http/schema.d.ts | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 04f904862a1..f34427812f5 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -24817,7 +24817,7 @@ export interface components { search_tool: components["schemas"]["SearchTool"]; }; /** CredentialItem */ - CredentialItem: { + "CredentialItem-Input": { /** Credential Info */ credential_info: { [key: string]: unknown; @@ -24831,6 +24831,19 @@ export interface components { /** Credential Values To Delete */ credential_values_to_delete?: string[] | null; }; + /** CredentialItem */ + "CredentialItem-Output": { + /** Credential Info */ + credential_info: { + [key: string]: unknown; + }; + /** Credential Name */ + credential_name: string; + /** Credential Values */ + credential_values: { + [key: string]: unknown; + }; + }; /** * CustomerResponse * @description Customer object returned by the /customer read+write endpoints. @@ -41494,7 +41507,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["CredentialItem"]; + "application/json": components["schemas"]["CredentialItem-Output"]; }; }; /** @description Validation Error */ @@ -41526,7 +41539,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["CredentialItem"]; + "application/json": components["schemas"]["CredentialItem-Output"]; }; }; /** @description Validation Error */ @@ -41636,7 +41649,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["CredentialItem"]; + "application/json": components["schemas"]["CredentialItem-Input"]; }; }; responses: {