Fixed incorrect default JSON spec for `get_source` API
This commit is contained in:
parent
6196efa553
commit
5b8df7eba6
|
@ -8,8 +8,7 @@
|
|||
"parts": {
|
||||
"id": {
|
||||
"type" : "string",
|
||||
"required" : false,
|
||||
"default" : "_all",
|
||||
"required" : true,
|
||||
"description" : "The document ID"
|
||||
},
|
||||
"index": {
|
||||
|
@ -19,7 +18,8 @@
|
|||
},
|
||||
"type": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue