Add Lightmoney json converter + do swagger defs for ln api

This commit is contained in:
Kukks
2020-05-29 10:04:28 +02:00
parent 1e3f62718d
commit 37f4b34b5e
7 changed files with 1060 additions and 42 deletions

View File

@@ -13,14 +13,14 @@ namespace BTCPayServer.Controllers.GreenField
{
[ApiController]
[Authorize(AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
public class InternalLightningNodeApiInternalController : LightningNodeApiController
public class InternalLightningNodeApiController : LightningNodeApiController
{
private readonly BTCPayServerOptions _btcPayServerOptions;
private readonly BTCPayNetworkProvider _btcPayNetworkProvider;
private readonly LightningClientFactoryService _lightningClientFactory;
public InternalLightningNodeApiInternalController(BTCPayServerOptions btcPayServerOptions,
public InternalLightningNodeApiController(BTCPayServerOptions btcPayServerOptions,
BTCPayNetworkProvider btcPayNetworkProvider, BTCPayServerEnvironment btcPayServerEnvironment,
CssThemeManager cssThemeManager, LightningClientFactoryService lightningClientFactory) : base(
btcPayNetworkProvider, btcPayServerEnvironment, cssThemeManager)