mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-09 17:14:22 +01:00
Simplify swagger
This commit is contained in:
@@ -640,11 +640,7 @@
|
||||
"status": {
|
||||
"nullable": false,
|
||||
"description": "Mark an invoice as completed or invalid.",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/InvoiceStatusMark"
|
||||
}
|
||||
]
|
||||
"$ref": "#/components/schemas/InvoiceStatusMark"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -716,11 +712,7 @@
|
||||
},
|
||||
"checkout": {
|
||||
"nullable": true,
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/CheckoutOptions"
|
||||
}
|
||||
],
|
||||
"$ref": "#/components/schemas/CheckoutOptions",
|
||||
"description": "Additional settings to customize the checkout flow"
|
||||
}
|
||||
}
|
||||
@@ -1004,11 +996,7 @@
|
||||
"properties": {
|
||||
"speedPolicy": {
|
||||
"nullable": true,
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/SpeedPolicy"
|
||||
}
|
||||
],
|
||||
"$ref": "#/components/schemas/SpeedPolicy",
|
||||
"description": "This is a risk mitigation parameter for the merchant to configure how they want to fulfill orders depending on the number of block confirmations for the transaction made by the consumer on the selected cryptocurrency"
|
||||
},
|
||||
"paymentMethods": {
|
||||
|
||||
Reference in New Issue
Block a user