From 79d260327dc20cdb0257f8a8a53a415c43bf0247 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 25 Apr 2018 17:30:06 -0700 Subject: [PATCH] Allow for a deprecation warning in the API documentation tests. --- docs/reference/search/field-caps.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/search/field-caps.asciidoc b/docs/reference/search/field-caps.asciidoc index b7954585b12f2..6cb483e7a256e 100644 --- a/docs/reference/search/field-caps.asciidoc +++ b/docs/reference/search/field-caps.asciidoc @@ -30,6 +30,7 @@ POST _field_caps } -------------------------------------------------- // CONSOLE +// TEST[warning:Specifying a request body is deprecated -- the [fields] request parameter should be used instead.] This is equivalent to the previous request.