Swagger: FIx typos in pull payments docs (#4893)

Fixes #4892.
This commit is contained in:
d11n
2023-04-19 06:06:51 +02:00
committed by GitHub
parent 43436fc49e
commit e77bd4c188

View File

@@ -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"
}
}
}
}
}
},