Fixed incorrect default JSON spec for `get_source` API
This commit is contained in:
parent
6196efa553
commit
5b8df7eba6
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue