diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index d4fab38ee3..85ba74a57d 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -60,6 +60,12 @@ ], "response": [] }, + "bulk": { + "request": [ + "Request: missing json spec query parameter 'type'" + ], + "response": [] + }, "capabilities": { "request": [ "Missing request & response" diff --git a/specification/_json_spec/bulk.json b/specification/_json_spec/bulk.json index 3444e1c017..59e79d0684 100644 --- a/specification/_json_spec/bulk.json +++ b/specification/_json_spec/bulk.json @@ -46,6 +46,10 @@ "type": "time", "description": "Explicit operation timeout" }, + "type": { + "type": "string", + "description": "Default document type for items which don't provide one" + }, "_source": { "type": "list", "description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request" @@ -64,11 +68,11 @@ }, "require_alias": { "type": "boolean", - "description": "If true, the request’s actions must target an index alias. Defaults to false." + "description": "Sets require_alias for all incoming documents. Defaults to unset (false)" }, "require_data_stream": { "type": "boolean", - "description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false" + "description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false" }, "list_executed_pipelines": { "type": "boolean",