fix(openapi): resolve getHistory operationId collision

Spectral flagged: both /api/history (OSS local) and /api/history_v2
(cloud) had operationId 'getHistory' after the rename. Rename vendor's
/api/history to 'getPromptHistory' to disambiguate. Cloud's runtime
denies /api/history at the overlay level so combined codegen is
unaffected by this change.
This commit is contained in:
Matt Miller 2026-05-22 15:48:03 -07:00
parent 96d4c86e4b
commit a0deb78424

View File

@ -356,7 +356,7 @@ paths:
# ---------------------------------------------------------------------------
/api/history:
get:
operationId: getHistory
operationId: getPromptHistory
tags: [history]
summary: Get execution history
deprecated: true