diff --git a/spec/namespaces/indices.yaml b/spec/namespaces/indices.yaml index 09e149409..2b837f5c1 100644 --- a/spec/namespaces/indices.yaml +++ b/spec/namespaces/indices.yaml @@ -869,6 +869,8 @@ paths: - $ref: '#/components/parameters/indices.upgrade::query.ignore_unavailable' - $ref: '#/components/parameters/indices.upgrade::query.only_ancient_segments' - $ref: '#/components/parameters/indices.upgrade::query.wait_for_completion' + requestBody: + $ref: '#/components/requestBodies/indices.upgrade' responses: '200': $ref: '#/components/responses/indices.upgrade@200' @@ -2543,7 +2545,7 @@ components: content: application/json: schema: - $ref: '../schemas/indices._common.yaml#/components/schemas/IndexUpgradeStatus' + $ref: '../schemas/indices._common.yaml#/components/schemas/IndexGetUpgradeStatus' indices.open@200: content: application/json: