Skip to content

Commit 25593a6

Browse files
github-actions[bot]floberndl-trotta
authored
IndicesPutMappingRequest.dynamic_templates should not be "single or many" (#3824) (#3835)
(cherry picked from commit a36880d) Co-authored-by: Florian Bernd <[email protected]> Co-authored-by: Laura Trotta <[email protected]>
1 parent 00a7549 commit 25593a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

specification/indices/put_mapping/IndicesPutMappingRequest.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ export interface Request extends RequestBase {
141141
/**
142142
* Specify dynamic templates for the mapping.
143143
*/
144-
dynamic_templates?:
145-
| Dictionary<string, DynamicTemplate>
146-
| Dictionary<string, DynamicTemplate>[]
144+
dynamic_templates?: Dictionary<string, DynamicTemplate>[]
147145
/**
148146
* Control whether field names are enabled for the index.
149147
*/

0 commit comments

Comments
 (0)