소스 검색

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": {
-      "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
     }
   }
 }