From e4b5609d78e69a2a86af4224337dbaec7b746114 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 6 Sep 2024 13:27:12 +0900 Subject: [PATCH] Fix doc --- .../swagger/v1/swagger.template.payout-processors.json | 4 ++-- .../v1/swagger.template.stores-payment-methods.json | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json index 34702eaef..d3ddfc60a 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json @@ -246,7 +246,7 @@ ] } }, - "/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory/{paymentMethodId}": { + "/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory/{payoutMethodId}": { "get": { "tags": [ "Stores (Payout Processors)" @@ -263,7 +263,7 @@ } }, { - "$ref": "#/components/parameters/PaymentMethodId" + "$ref": "#/components/parameters/PayoutMethodId" } ], "description": "Get configured store Lightning automated payout processors", diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json index 14a749e45..ff9532975 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json @@ -293,6 +293,16 @@ "$ref": "#/components/schemas/PaymentMethodId" }, "example": "BTC-CHAIN" + }, + "PayoutMethodId": { + "name": "paymentMethodId", + "in": "path", + "required": true, + "description": "The payout method id", + "schema": { + "$ref": "#/components/schemas/PayoutMethodId" + }, + "example": "BTC-CHAIN" } }, "schemas": {