From 4ad5753b2b6bd9cc747dee4eb94fe8ecaa59c7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 9 Aug 2023 14:23:29 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Abdon Pijpelink --- specification/indices/put_alias/IndicesPutAliasRequest.ts | 2 +- .../put_data_lifecycle/IndicesPutDataLifecycleRequest.ts | 2 +- specification/indices/resolve_index/ResolveIndexRequest.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/indices/put_alias/IndicesPutAliasRequest.ts b/specification/indices/put_alias/IndicesPutAliasRequest.ts index 8679a831de..0730b11863 100644 --- a/specification/indices/put_alias/IndicesPutAliasRequest.ts +++ b/specification/indices/put_alias/IndicesPutAliasRequest.ts @@ -66,7 +66,7 @@ export interface Request extends RequestBase { /** * Value used to route indexing operations to a specific shard. * If specified, this overwrites the `routing` value for indexing operations. - * ata stream aliases don’t support this parameter. + * Data stream aliases don’t support this parameter. */ index_routing?: Routing /** diff --git a/specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts b/specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts index 312c711e0f..a508b0eca1 100644 --- a/specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts +++ b/specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequest.ts @@ -40,7 +40,7 @@ export interface Request extends RequestBase { /** * Type of data stream that wildcard patterns can match. * Supports comma-separated values, such as `open,hidden`. - * Valid values are: all, hidden, open, closed, none. + * Valid values are: `all`, `hidden`, `open`, `closed`, `none`. * @server_default open */ expand_wildcards?: ExpandWildcards diff --git a/specification/indices/resolve_index/ResolveIndexRequest.ts b/specification/indices/resolve_index/ResolveIndexRequest.ts index 9e647e2a1c..1909052904 100644 --- a/specification/indices/resolve_index/ResolveIndexRequest.ts +++ b/specification/indices/resolve_index/ResolveIndexRequest.ts @@ -30,8 +30,8 @@ import { ExpandWildcards, Names } from '@_types/common' export interface Request extends RequestBase { path_parts: { /** - * Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve - * Resources on remote clusters can be specified using the` `:`` syntax. + * Comma-separated name(s) or index pattern(s) of the indices, aliases, and data streams to resolve. + * Resources on remote clusters can be specified using the ``:`` syntax. */ name: Names }