浏览代码

REST: The body is required in the reindex API

Clinton Gormley 9 年之前
父节点
当前提交
647437ce56
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json

+ 2 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json

@@ -34,7 +34,8 @@
       }
       }
     },
     },
     "body": {
     "body": {
-      "description": "The search definition using the Query DSL and the prototype for the index request."
+      "description": "The search definition using the Query DSL and the prototype for the index request.",
+      "required": true
     }
     }
   }
   }
 }
 }