walletrpc: add missing REST body annotation
The missing body annotation caused the library to ignore any parameters sent to this RPC endpoint when using the REST proxy.
This commit is contained in:
3 files changed
+39
-8
No files matched your search
@@ -533,6 +533,16 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/walletrpcListUnspentRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"WalletKit"
|
||||
]
|
||||
@@ -1212,6 +1222,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"walletrpcListUnspentRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"min_confs": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The minimum number of confirmations to be included."
|
||||
},
|
||||
"max_confs": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"description": "The maximum number of confirmations to be included."
|
||||
},
|
||||
"account": {
|
||||
"type": "string",
|
||||
"description": "An optional filter to only include outputs belonging to an account."
|
||||
}
|
||||
}
|
||||
},
|
||||
"walletrpcListUnspentResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user