Skip to content

Commit 7a43634

Browse files
committed
Make sure the API specification lists include_type_name as a boolean.
1 parent 38b698d commit 7a43634

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"params": {
1616
"include_type_name": {
17-
"type" : "string",
17+
"type" : "boolean",
1818
"description" : "Whether a type should be expected in the body of the mappings."
1919
},
2020
"wait_for_active_shards": {

rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"params": {
1919
"include_type_name": {
20-
"type" : "string",
20+
"type" : "boolean",
2121
"description" : "Whether to add the type name to the response"
2222
},
2323
"ignore_unavailable": {

rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"params": {
1919
"include_type_name": {
20-
"type" : "string",
20+
"type" : "boolean",
2121
"description" : "Whether a type should be expected in the body of the mappings."
2222
},
2323
"timeout": {

0 commit comments

Comments
 (0)