From db6af134b782df04fd42b5a12f57e126e7951055 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Mon, 7 Jul 2025 04:22:28 -0700 Subject: [PATCH] fix: resolve FastAPI deprecation warning for example fields Signed-off-by: Emmanuel Ferdman --- invokeai/frontend/web/src/services/api/schema.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 0009628895..2e42372406 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -22266,16 +22266,6 @@ export interface operations { }; requestBody: { content: { - /** @example { - * "path": "/path/to/model", - * "name": "model_name", - * "base": "sd-1", - * "type": "main", - * "format": "checkpoint", - * "config_path": "configs/stable-diffusion/v1-inference.yaml", - * "description": "Model description", - * "variant": "normal" - * } */ "application/json": components["schemas"]["ModelRecordChanges"]; }; }; @@ -22579,10 +22569,6 @@ export interface operations { }; requestBody: { content: { - /** @example { - * "name": "string", - * "description": "string" - * } */ "application/json": components["schemas"]["ModelRecordChanges"]; }; };