Skip to content

Commit 2a1d012

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: specification/indices/put_mapping/IndicesPutMappingRequest.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ export interface Request extends RequestBase {
135135
/**
136136
* Specify dynamic templates for the mapping.
137137
*/
138-
dynamic_templates?:
139-
| Dictionary<string, DynamicTemplate>
140-
| Dictionary<string, DynamicTemplate>[]
138+
dynamic_templates?: Dictionary<string, DynamicTemplate>[]
141139
/**
142140
* Control whether field names are enabled for the index.
143141
*/

0 commit comments

Comments
 (0)