[SPEC] Removed empty paths from close and delete index apis
Although the empty paths are still registered in the java RestActions, that is only to return a meaningful error in case the index is not provided. Index/indices are now mandatory.
This commit is contained in:
parent
fe60cca038
commit
619c46a2a3
|
@ -4,7 +4,7 @@
|
|||
"methods": ["POST"],
|
||||
"url": {
|
||||
"path": "/{index}/_close",
|
||||
"paths": ["/_close", "/{index}/_close"],
|
||||
"paths": ["/{index}/_close"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "string",
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-index.html",
|
||||
"methods": ["DELETE"],
|
||||
"url": {
|
||||
"path": "/",
|
||||
"paths": ["/", "/{index}"],
|
||||
"path": "/{index}",
|
||||
"paths": ["/{index}"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
|
|
Loading…
Reference in New Issue