From e77bd4c1887bf051f82b70cf0fb4ad1b9f47e649 Mon Sep 17 00:00:00 2001 From: d11n Date: Wed, 19 Apr 2023 06:06:51 +0200 Subject: [PATCH] Swagger: FIx typos in pull payments docs (#4893) Fixes #4892. --- .../v1/swagger.template.pull-payments.json | 100 +++++++++--------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json index eaca1725e..2eb0dba73 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json @@ -403,44 +403,44 @@ } }, "/api/v1/pull-payments/{pullPaymentId}/lnurl": { - "parameters": [ - { - "name": "pullPaymentId", - "in": "path", - "required": true, - "description": "The ID of the pull payment", - "schema": { - "type": "string" - } - } - ], - "get": { - "summary": "Get Pull Payment LNURL details", - "operationId": "PullPayments_GetPullPaymentLNURL", - "description": "Get Pull Payment LNURL details", - "responses": { - "200": { - "description": "Pull payment LNURL details", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LNURLData" - } - } - } - }, - "404": { - "description": "Pull payment not found" - }, - "400": { - "description": "Pull payment found but does not support LNURL" - } - }, - "tags": [ - "Pull payments (Public)" - ], - "security": [] - } + "parameters": [ + { + "name": "pullPaymentId", + "in": "path", + "required": true, + "description": "The ID of the pull payment", + "schema": { + "type": "string" + } + } + ], + "get": { + "summary": "Get Pull Payment LNURL details", + "operationId": "PullPayments_GetPullPaymentLNURL", + "description": "Get Pull Payment LNURL details", + "responses": { + "200": { + "description": "Pull payment LNURL details", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LNURLData" + } + } + } + }, + "404": { + "description": "Pull payment not found" + }, + "400": { + "description": "Pull payment found but does not support LNURL" + } + }, + "tags": [ + "Pull payments (Public)" + ], + "security": [] + } }, "/api/v1/stores/{storeId}/payouts": { "parameters": [ @@ -1070,19 +1070,19 @@ } }, "LNURLData": { - "type": "object", - "properties": { - "lnurlBech32": { - "type": "string", - "description": "Bech32 representation of LNRURL", - "example": "lightning:lnurl1dp68gup69uhnzv3h9cczuvpwxyarzdp3xsez7sj5gvh42j2vfe24ynp0wa5hg6rywfshwtmswqhngvntdd6x6uzvx4jrvu2kvvur23n8v46rwjpexcc45563fn53w7" - }, - "lnurlUri": { - "type": "string", - "description": "Bech32 representation of LNURL", - "example": "lnurlw://example.com/BTC/UILNURL/withdraw/pp/42kktmpL5d6qVc85Fget7H961ZSQ" + "type": "object", + "properties": { + "lnurlBech32": { + "type": "string", + "description": "Bech32 representation of LNURL", + "example": "lightning:lnurl1dp68gup69uhnzv3h9cczuvpwxyarzdp3xsez7sj5gvh42j2vfe24ynp0wa5hg6rywfshwtmswqhngvntdd6x6uzvx4jrvu2kvvur23n8v46rwjpexcc45563fn53w7" + }, + "lnurlUri": { + "type": "string", + "description": "URI representation of LNURL", + "example": "lnurlw://example.com/BTC/UILNURL/withdraw/pp/42kktmpL5d6qVc85Fget7H961ZSQ" + } } - } } } },