Skip to content

Commit c3813ce

Browse files
[SPEC] Added empty path to indices.open and indices.close
1 parent d24994e commit c3813ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rest-api-spec/api/indices.close.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"methods": ["POST"],
55
"url": {
66
"path": "/{index}/_close",
7-
"paths": ["/{index}/_close"],
7+
"paths": ["/_close", "/{index}/_close"],
88
"parts": {
99
"index": {
1010
"type" : "string",

rest-api-spec/api/indices.open.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"methods": ["POST"],
55
"url": {
66
"path": "/{index}/_open",
7-
"paths": ["/{index}/_open"],
7+
"paths": ["_open", /{index}/_open"],
88
"parts": {
99
"index": {
1010
"type" : "string",

0 commit comments

Comments
 (0)