From ae03a7970c47c902565cbf8d784ddde9d2b720c0 Mon Sep 17 00:00:00 2001 From: tegwick Date: Wed, 11 Mar 2026 01:24:42 +0100 Subject: [PATCH] fix(api): add ep_id to EPUpdate schema so extension point IDs can be patched EPUpdate was missing the ep_id field, making it impossible to assign a human-readable ID to an existing EP via PATCH. The router already uses model_dump(exclude_unset=True) + setattr so no router change needed. Co-Authored-By: Claude Sonnet 4.6 --- state-hub/api/schemas/extension_point.py | 1 + 1 file changed, 1 insertion(+) diff --git a/state-hub/api/schemas/extension_point.py b/state-hub/api/schemas/extension_point.py index 23f6366..67cc1c1 100644 --- a/state-hub/api/schemas/extension_point.py +++ b/state-hub/api/schemas/extension_point.py @@ -22,6 +22,7 @@ class EPCreate(BaseModel): class EPUpdate(BaseModel): + ep_id: str | None = None title: str | None = None description: str | None = None location: str | None = None