From 1b7517c05ca2bef8bae7b20f8737ae19a4b36e27 Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Mon, 9 Aug 2021 04:33:56 -0700 Subject: [PATCH] Add example for orderId query string param in /api/v1/stores/{storeId}/invoices (#2759) --- .../wwwroot/swagger/v1/swagger.template.invoices.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json index f310080b5..e55b306b1 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json @@ -26,7 +26,8 @@ "items": { "type": "string" } - } + }, + "example": "1000&orderId=1001&orderId=1002" }, { "name": "status", @@ -1030,7 +1031,7 @@ "allOf": [ { "$ref": "#/components/schemas/TimeSpanMinutes" } ] }, "monitoringMinutes": { - "type": "integer", + "type": "number", "nullable": true, "description": "The number of minutes after an invoice expired after which we are still monitoring for incoming payments. Defaults to the store's settings. (The default store settings is 1440, 1 day)", "allOf": [ { "$ref": "#/components/schemas/TimeSpanMinutes" } ]