From 4db71dfcff6be5aff52f760879e0d4c643ee09c7 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Thu, 6 Mar 2025 15:27:47 +0000 Subject: [PATCH] fix typo in `index_template_substitutions` body argument (#3883) * fix typo in `index_template_substitutions` body argument * generated files --------- Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> (cherry picked from commit 8bec1922313bc01240afe01593addc4754bbced1) --- output/openapi/elasticsearch-openapi.json | 2 +- output/schema/schema.json | 2 +- output/typescript/types.ts | 2 +- specification/simulate/ingest/SimulateIngestRequest.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 58d811bf4a..75cd5b1485 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -109422,7 +109422,7 @@ "$ref": "#/components/schemas/cluster._types:ComponentTemplateNode" } }, - "index_template_subtitutions": { + "index_template_substitutions": { "description": "A map of index template names to substitute index template definition objects.", "type": "object", "additionalProperties": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 20db79ffed..9fd8f0ae21 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -206056,7 +206056,7 @@ }, { "description": "A map of index template names to substitute index template definition objects.", - "name": "index_template_subtitutions", + "name": "index_template_substitutions", "required": false, "type": { "kind": "dictionary_of", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 0fe82cafc8..acdff691c9 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -19322,7 +19322,7 @@ export interface SimulateIngestRequest extends RequestBase { body?: { docs: IngestDocument[] component_template_substitutions?: Record - index_template_subtitutions?: Record + index_template_substitutions?: Record mapping_addition?: MappingTypeMapping pipeline_substitutions?: Record } diff --git a/specification/simulate/ingest/SimulateIngestRequest.ts b/specification/simulate/ingest/SimulateIngestRequest.ts index f545c359d6..47b1aa991c 100644 --- a/specification/simulate/ingest/SimulateIngestRequest.ts +++ b/specification/simulate/ingest/SimulateIngestRequest.ts @@ -78,7 +78,7 @@ export interface Request extends RequestBase { /** * A map of index template names to substitute index template definition objects. */ - index_template_subtitutions?: Dictionary + index_template_substitutions?: Dictionary mapping_addition?: TypeMapping /** * Pipelines to test.