diff --git a/docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc b/docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc index adc49202b46..f405231685e 100644 --- a/docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc +++ b/docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc @@ -50,7 +50,7 @@ GET /_enrich/policy/my-policy [[get-enrich-policy-api-request]] ==== {api-request-title} -`GET /_enrich/policy/` +`GET /_enrich/policy/` `GET /_enrich/policy` @@ -66,7 +66,7 @@ include::put-enrich-policy.asciidoc[tag=enrich-policy-api-prereqs] [[get-enrich-policy-api-path-params]] ==== {api-path-parms-title} -``:: +``:: + -- (Optional, string) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json index dc2ab9d9e9c..aa13648f722 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json @@ -11,8 +11,8 @@ "methods": [ "GET" ], "parts": { "name": { - "type" : "string", - "description" : "The name of the enrich policy" + "type" : "list", + "description" : "A comma-separated list of enrich policy names" } } },