Fixed incorrect default JSON spec for `get_source` API

This commit is contained in:
Karel Minarik 2013-09-09 20:59:47 +02:00
parent 6196efa553
commit 5b8df7eba6
1 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,7 @@
"parts": { "parts": {
"id": { "id": {
"type" : "string", "type" : "string",
"required" : false, "required" : true,
"default" : "_all",
"description" : "The document ID" "description" : "The document ID"
}, },
"index": { "index": {
@ -19,7 +18,8 @@
}, },
"type": { "type": {
"type" : "string", "type" : "string",
"required" : true, "required" : false,
"default" : "_all",
"description" : "The type of the document; use `_all` to fetch the first document matching the ID across all types" "description" : "The type of the document; use `_all` to fetch the first document matching the ID across all types"
} }
}, },