diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index c16ad24c9b..b8e9079cd2 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -23499,7 +23499,7 @@ } ] }, - "head": { + "options": { "tags": [ "cluster" ], diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9307996615..19600f8721 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -14141,7 +14141,7 @@ } ] }, - "head": { + "options": { "tags": [ "cluster" ], diff --git a/output/schema/schema.json b/output/schema/schema.json index b94ed9793b..9ac4ab23d8 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -16382,7 +16382,7 @@ "urls": [ { "methods": [ - "HEAD" + "OPTIONS" ], "path": "/" } diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 025ac49656..ed8d80d64b 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1,5 +1,12 @@ { - "endpointErrors": {}, + "endpointErrors": { + "ping": { + "request": [ + "/: different http methods in the json spec" + ], + "response": [] + } + }, "generalErrors": [ "Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'", "Dangling type '_global.scripts_painless_execute:PainlessScript'", diff --git a/specification/_global/ping/PingRequest.ts b/specification/_global/ping/PingRequest.ts index 5d6e45ac2f..3b17eb602a 100644 --- a/specification/_global/ping/PingRequest.ts +++ b/specification/_global/ping/PingRequest.ts @@ -32,7 +32,7 @@ export interface Request extends RequestBase { urls: [ { path: '/' - methods: ['HEAD'] + methods: ['OPTIONS'] } ] }