Skip to content

Commit 294270e

Browse files
floberndgithub-actions[bot]
authored andcommitted
IndicesPutMappingRequest.dynamic_templates should not be "single or many" (#3824)
(cherry picked from commit a36880d)
1 parent 7325c42 commit 294270e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

specification/indices/put_mapping/IndicesPutMappingRequest.ts

Lines changed: 1 addition & 3 deletions
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)