Browse Source

REST: The body is required in the reindex API

Clinton Gormley 9 năm trước cách đây
mục cha
commit
647437ce56

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

@@ -34,7 +34,8 @@
       }
     },
     "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
     }
   }
 }