From 1943df3692048b0c413ca530e2399edca6764e80 Mon Sep 17 00:00:00 2001 From: Mashhur <99575341+mashhurs@users.noreply.github.com> Date: Fri, 26 Sep 2025 13:27:01 -0700 Subject: [PATCH] Update pipeline ID description of Logstash pipeline create REST API. (#5354) (cherry picked from commit 8cb5d6594583d95106bce2a7d280d4edabaa170b) --- output/openapi/elasticsearch-openapi.json | 2 +- output/openapi/elasticsearch-serverless-openapi.json | 2 +- output/schema/schema.json | 4 ++-- .../logstash/put_pipeline/LogstashPutPipelineRequest.ts | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index be0c0f4125..8548d89c18 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -25273,7 +25273,7 @@ { "in": "path", "name": "id", - "description": "An identifier for the pipeline.", + "description": "An identifier for the pipeline.\nPipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, hyphens and numbers.", "required": true, "deprecated": false, "schema": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 21b4b02be7..41f5ee1f9c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -15012,7 +15012,7 @@ { "in": "path", "name": "id", - "description": "An identifier for the pipeline.", + "description": "An identifier for the pipeline.\nPipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, hyphens and numbers.", "required": true, "deprecated": false, "schema": { diff --git a/output/schema/schema.json b/output/schema/schema.json index fa36b66d43..e5a785409b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -187971,7 +187971,7 @@ }, "path": [ { - "description": "An identifier for the pipeline.", + "description": "An identifier for the pipeline.\nPipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, hyphens and numbers.", "name": "id", "required": true, "type": { @@ -187984,7 +187984,7 @@ } ], "query": [], - "specLocation": "logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L51" + "specLocation": "logstash/put_pipeline/LogstashPutPipelineRequest.ts#L24-L52" }, { "kind": "response", diff --git a/specification/logstash/put_pipeline/LogstashPutPipelineRequest.ts b/specification/logstash/put_pipeline/LogstashPutPipelineRequest.ts index 1aecb324c1..53daa6c37f 100644 --- a/specification/logstash/put_pipeline/LogstashPutPipelineRequest.ts +++ b/specification/logstash/put_pipeline/LogstashPutPipelineRequest.ts @@ -43,6 +43,7 @@ export interface Request extends RequestBase { path_parts: { /** * An identifier for the pipeline. + * Pipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, hyphens and numbers. */ id: Id }