From 9c8fe9277d8aca9543e10ae7f7360853e4bc97de Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 2 Sep 2024 16:27:49 +0900 Subject: [PATCH] Fix route's param in doc --- ...swagger.template.stores-payment-methods.on-chain.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json index 4120fcd00..cf7bd179e 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json @@ -177,14 +177,7 @@ } }, { - "name": "cryptoCode", - "in": "path", - "required": true, - "description": "The crypto code of the payment method to fetch", - "schema": { - "type": "string" - }, - "example": "BTC" + "$ref": "#/components/parameters/PaymentMethodId" }, { "name": "offset",