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 <noreply@anthropic.com>
This commit is contained in:
parent
2be217f51a
commit
ae03a7970c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue