Skip to content

Commit 3d5c3d3

Browse files
IndicesPutMappingRequest.dynamic_templates should not be "single or many" (#3824) (#3832)
(cherry picked from commit a36880d) Co-authored-by: Florian Bernd <[email protected]>
1 parent 35e9436 commit 3d5c3d3

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)