From 0a49fc8b1af7eb06cf55016bd9c29aef2cd0e57e Mon Sep 17 00:00:00 2001 From: Mpdreamz Date: Tue, 23 Apr 2019 14:49:19 +0200 Subject: [PATCH] Deprecate get.json removed parameters in 7.x Since these have been publicized on 7.0 we can no longer remove this Marking these as deprecated instead. relates to: #38613 --- .../src/main/resources/rest-api-spec/api/get.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json index cc20ceecc4e4c..69a1e54e96ed7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json @@ -67,11 +67,19 @@ }, "_source_exclude": { "type" : "list", - "description" : "A list of fields to exclude from the returned _source field" + "description" : "A list of fields to exclude from the returned _source field", + "deprecated" : { + "version" : "7.0.0", + "description" : "This option has been removed in Elasticsearch 7.0.0 and is no longer available, it was however documented as part of its 7.0.0 release." + } }, "_source_include": { "type" : "list", - "description" : "A list of fields to extract and return from the _source field" + "description" : "A list of fields to extract and return from the _source field", + "deprecated" : { + "version" : "7.0.0", + "description" : "This option has been removed in Elasticsearch 7.0.0 and is no longer available, it was however documented as part of its 7.0.0 release." + } }, "version" : { "type" : "number",