背景
他エンドポイントは $ref: '#/components/responses/NotFound' を使うが、
PATCH /api/tasks/{id}/status と POST /api/tasks/{id}/stakeholders だけ
インライン定義(description で「タスク不在 or 参照権限なし」を明記)。
推奨案
components.responses.NotFound の description を強化(リソース不在 or 参照権限不足のポリシー明記)し、
全エンドポイントを $ref に統一する。
参照
PR #76 Claude review (R10) 新規 #10
背景
他エンドポイントは
$ref: '#/components/responses/NotFound'を使うが、PATCH /api/tasks/{id}/statusとPOST /api/tasks/{id}/stakeholdersだけインライン定義(description で「タスク不在 or 参照権限なし」を明記)。
推奨案
components.responses.NotFoundの description を強化(リソース不在 or 参照権限不足のポリシー明記)し、全エンドポイントを
$refに統一する。参照
PR #76 Claude review (R10) 新規 #10