From bbea9d7a2771fb8c97c002c683f9f63abb41e878 Mon Sep 17 00:00:00 2001 From: Wouter Samaey Date: Sat, 4 Dec 2021 09:20:23 +0100 Subject: [PATCH] Swagger fixes (#3170) --- .../v1/swagger.template.stores-wallet.on-chain.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json index 0f14021f5..48032152b 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json @@ -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",