Swagger fixes (#3170)

This commit is contained in:
Wouter Samaey 2021-12-04 09:20:23 +01:00 committed by GitHub
parent b0125adfe9
commit bbea9d7a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,8 @@
"required": false,
"description": "Whether to generate a new address for this request even if the previous one was not used",
"schema": {
"type": "string"
"type": "boolean",
"default": false
}
}
],
@ -730,7 +731,7 @@
},
"subtractFromAmount": {
"type": "boolean",
"description": "Whether to subtract from the provided amount. Must be false if `destination` is a BIP21 link"
"description": "Whether to subtract the transaction fee from the provided amount. This makes the receiver receive less, or in other words: he or she pays the transaction fee. Also useful if you want to clear out your wallet. Must be false if `destination` is a BIP21 link"
}
}
},
@ -749,7 +750,7 @@
"feeRate": {
"type": "number",
"format": "decimal or long (sats/byte)",
"description": "A wallet address or a BIP21 payment link"
"description": "Transaction fee."
},
"proceedWithPayjoin": {
"type": "boolean",