From 6764a72a5367baa291caf70715089b93dfd72b22 Mon Sep 17 00:00:00 2001 From: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Date: Wed, 13 Dec 2023 12:18:30 +0100 Subject: [PATCH] added note for known typo (#2369) * added note for known typo * fixed comment structure * fixed comment style * dot --- specification/indices/_types/DataStream.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/indices/_types/DataStream.ts b/specification/indices/_types/DataStream.ts index d8f2514853..dfca2e64d2 100644 --- a/specification/indices/_types/DataStream.ts +++ b/specification/indices/_types/DataStream.ts @@ -33,6 +33,8 @@ enum ManagedBy { /** @codegen_name ilm */ 'Index Lifecycle Management', /** @codegen_name datastream */ + // This should have been written with capital letters, it's a known typo and should not be corrected, + // since the test cases have already been written. 'Data stream lifecycle', /** @codegen_name unmanaged */ 'Unmanaged' @@ -42,7 +44,8 @@ export class DataStream { /** * Custom metadata for the stream, copied from the `_meta` object of the stream’s matching index template. * If empty, the response omits this property. - * @doc_id mapping-meta-field */ + * @doc_id mapping-meta-field + */ _meta?: Metadata /** * If `true`, the data stream allows custom routing on write request.