From eeba9da424a56a319da915aedc6d653ebef84c67 Mon Sep 17 00:00:00 2001 From: Matteo Piergiovanni <134913285+piergm@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:51:17 +0100 Subject: [PATCH] made available in serverless --- .../elasticsearch-serverless-openapi.json | 22 +++++++++++++++++++ output/schema/schema.json | 3 ++- .../field_caps/FieldCapabilitiesRequest.ts | 1 + 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index be4b736b06..1332f7a446 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -4229,6 +4229,9 @@ }, { "$ref": "#/components/parameters/field_caps#types" + }, + { + "$ref": "#/components/parameters/field_caps#include_empty_fields" } ], "requestBody": { @@ -4271,6 +4274,9 @@ }, { "$ref": "#/components/parameters/field_caps#types" + }, + { + "$ref": "#/components/parameters/field_caps#include_empty_fields" } ], "requestBody": { @@ -4318,6 +4324,9 @@ }, { "$ref": "#/components/parameters/field_caps#types" + }, + { + "$ref": "#/components/parameters/field_caps#include_empty_fields" } ], "requestBody": { @@ -4363,6 +4372,9 @@ }, { "$ref": "#/components/parameters/field_caps#types" + }, + { + "$ref": "#/components/parameters/field_caps#include_empty_fields" } ], "requestBody": { @@ -21921,6 +21933,16 @@ }, "style": "form" }, + "field_caps#include_empty_fields": { + "in": "query", + "name": "include_empty_fields", + "description": "If false, empty fields are not included in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "graph.explore#index": { "in": "path", "name": "index", diff --git a/output/schema/schema.json b/output/schema/schema.json index 4ba17690a2..79a2c416dd 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -23235,6 +23235,7 @@ }, { "availability": { + "serverless": {}, "stack": { "since": "8.13.0" } @@ -23253,7 +23254,7 @@ } } ], - "specLocation": "_global/field_caps/FieldCapabilitiesRequest.ts#L25-L105" + "specLocation": "_global/field_caps/FieldCapabilitiesRequest.ts#L25-L106" }, { "body": { diff --git a/specification/_global/field_caps/FieldCapabilitiesRequest.ts b/specification/_global/field_caps/FieldCapabilitiesRequest.ts index 3b4524e2ba..5952cfb181 100644 --- a/specification/_global/field_caps/FieldCapabilitiesRequest.ts +++ b/specification/_global/field_caps/FieldCapabilitiesRequest.ts @@ -78,6 +78,7 @@ export interface Request extends RequestBase { /** * If false, empty fields are not included in the response. * @availability stack since=8.13.0 + * @availability serverless * @server_default true */ include_empty_fields?: boolean