From 55a8ba0905f1487504904c836258bf469ef5a60d Mon Sep 17 00:00:00 2001 From: ndeet Date: Wed, 21 Feb 2024 14:42:15 +0100 Subject: [PATCH] Adding link to API usage examples in docs. (#5772) --- BTCPayServer/wwwroot/swagger/v1/swagger.template.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.json index be821e8f3..cfeadb240 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.json @@ -19,6 +19,10 @@ "description": "BTCPay Server Greenfield API" } ], + "externalDocs": { + "description": "Check out our examples on how to use the API", + "url": "https://docs.btcpayserver.org/Development/GreenFieldExample/" + }, "components": { "schemas": { "ValidationProblemDetails": { @@ -141,4 +145,4 @@ "Basic": [] } ] -} \ No newline at end of file +}