From d9cd184fd73ea14bd134961e3b9199c0f88874ac Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 17 Oct 2026 02:59:46 +0800 Subject: [PATCH] refactor(types): align identifier with typed route contracts --- app/api/endpoints/identifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/endpoints/identifier.py b/app/api/endpoints/identifier.py index 19aa98fc7..89962701c 100644 --- a/app/api/endpoints/identifier.py +++ b/app/api/endpoints/identifier.py @@ -25,7 +25,7 @@ from app.startup.composition.context import HostRuntime router = ResponseAPIRouter() -@router.get( # type: ignore[misc] +@router.get( "/identifiers", summary="查询自定义识别词", response_model=Response[JsonObject], @@ -45,7 +45,7 @@ async def query_custom_identifiers( ) -@router.post( # type: ignore[misc] +@router.post( "/identifiers", summary="更新自定义识别词", response_model=Response[JsonObject],