From 8a60439b8e86c3b4cc06d8ce4cff230400d8fd3b Mon Sep 17 00:00:00 2001 From: nammovuivui Date: Wed, 21 Oct 2026 17:21:27 +0700 Subject: [PATCH] chore(api): regenerate the OpenAPI schema under FastAPI 0.156 FastAPI 0.156 emits the ProviderId alias's description on the four /providers/{provider_id} path parameters. CI installs the latest FastAPI allowed by requirements.txt, so the committed schema went stale without any code change and the OpenAPI diff-check fails on every PR. Co-Authored-By: Claude Opus 5.5 --- desktop/src/lib/api-types.d.ts | 4 ++++ desktop/src/lib/openapi.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/desktop/src/lib/api-types.d.ts b/desktop/src/lib/api-types.d.ts index fba2e12..0eb6a04 100644 --- a/desktop/src/lib/api-types.d.ts +++ b/desktop/src/lib/api-types.d.ts @@ -2082,6 +2082,7 @@ export interface operations { authorization?: string | null; }; path: { + /** @description A provider's id, as GET /providers lists them */ provider_id: string; }; cookie?: never; @@ -2119,6 +2120,7 @@ export interface operations { authorization?: string | null; }; path: { + /** @description A provider's id, as GET /providers lists them */ provider_id: string; }; cookie?: never; @@ -2154,6 +2156,7 @@ export interface operations { authorization?: string | null; }; path: { + /** @description A provider's id, as GET /providers lists them */ provider_id: string; }; cookie?: never; @@ -2187,6 +2190,7 @@ export interface operations { authorization?: string | null; }; path: { + /** @description A provider's id, as GET /providers lists them */ provider_id: string; }; cookie?: never; diff --git a/desktop/src/lib/openapi.json b/desktop/src/lib/openapi.json index 2e25113..9e880aa 100644 --- a/desktop/src/lib/openapi.json +++ b/desktop/src/lib/openapi.json @@ -3111,6 +3111,7 @@ "operationId": "update_provider_providers__provider_id__put", "parameters": [ { + "description": "A provider's id, as GET /providers lists them", "in": "path", "name": "provider_id", "required": true, @@ -3181,6 +3182,7 @@ "operationId": "delete_provider_key_providers__provider_id__key_delete", "parameters": [ { + "description": "A provider's id, as GET /providers lists them", "in": "path", "name": "provider_id", "required": true, @@ -3240,6 +3242,7 @@ "operationId": "provider_models_providers__provider_id__models_get", "parameters": [ { + "description": "A provider's id, as GET /providers lists them", "in": "path", "name": "provider_id", "required": true, @@ -3309,6 +3312,7 @@ "operationId": "verify_provider_providers__provider_id__verify_post", "parameters": [ { + "description": "A provider's id, as GET /providers lists them", "in": "path", "name": "provider_id", "required": true,