mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Add Lightmoney json converter + do swagger defs for ln api
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using BTCPayServer.Client.JsonConverters;
|
||||
using BTCPayServer.Lightning;
|
||||
using NBitcoin;
|
||||
using NBitcoin.JsonConverters;
|
||||
@@ -20,10 +21,10 @@ namespace BTCPayServer.Client.Models
|
||||
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
[JsonProperty(ItemConverterType = typeof(MoneyJsonConverter))]
|
||||
[JsonProperty(ItemConverterType = typeof(LightMoneyJsonConverter))]
|
||||
public LightMoney Capacity { get; set; }
|
||||
|
||||
[JsonProperty(ItemConverterType = typeof(MoneyJsonConverter))]
|
||||
[JsonProperty(ItemConverterType = typeof(LightMoneyJsonConverter))]
|
||||
public LightMoney LocalBalance { get; set; }
|
||||
|
||||
public string ChannelPoint { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user