From 03f8452d705a6ac846cc80f35c0a6b7065b70f09 Mon Sep 17 00:00:00 2001 From: Lukas Olson Date: Thu, 17 Mar 2016 10:27:44 -0700 Subject: [PATCH] Update API spec for Shield Original commit: elastic/x-pack-elasticsearch@6dcdfebc0aab8811caa4302135f2691464ef52a1 --- .../src/test/resources/rest-api-spec/api/shield.get_role.json | 2 +- .../src/test/resources/rest-api-spec/api/shield.get_user.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_role.json b/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_role.json index f5ac8c9cecc..2dc241795b5 100644 --- a/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_role.json +++ b/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_role.json @@ -4,7 +4,7 @@ "methods": [ "GET" ], "url": { "path": "/_shield/role/{name}", - "paths": [ "/_shield/role/{name}" ], + "paths": [ "/_shield/role/{name}", "/_shield/role" ], "parts": { "name": { "type" : "string", diff --git a/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_user.json b/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_user.json index 8bb75ec0a1c..da821e5e67f 100644 --- a/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_user.json +++ b/elasticsearch/x-pack/shield/src/test/resources/rest-api-spec/api/shield.get_user.json @@ -4,7 +4,7 @@ "methods": [ "GET" ], "url": { "path": "/_shield/user/{username}", - "paths": [ "/_shield/user/{username}" ], + "paths": [ "/_shield/user/{username}", "/_shield/user" ], "parts": { "username": { "type" : "list",