Skip to content

Commit 77f7b73

Browse files
committed
looprpc: document missing CLI commands
1 parent 86df443 commit 77f7b73

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

looprpc/client.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

looprpc/client.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ service SwapClient {
6767
*/
6868
rpc GetLsatTokens (TokensRequest) returns (TokensResponse);
6969

70-
/*
70+
/* loop: `getparams`
7171
GetLiquidityParams gets the parameters that the daemon's liquidity manager
7272
is currently configured with. This may be nil if nothing is configured.
7373
[EXPERIMENTAL]: endpoint is subject to change.
7474
*/
7575
rpc GetLiquidityParams (GetLiquidityParamsRequest)
7676
returns (LiquidityParameters);
7777

78-
/*
78+
/* loop: `setparams`
7979
SetLiquidityParams sets a new set of parameters for the daemon's liquidity
8080
manager. Note that the full set of parameters must be provided, because
8181
this call fully overwrites our existing parameters.
@@ -84,7 +84,7 @@ service SwapClient {
8484
rpc SetLiquidityParams (SetLiquidityParamsRequest)
8585
returns (SetLiquidityParamsResponse);
8686

87-
/*
87+
/* loop: `suggestswaps`
8888
SuggestSwaps returns a list of recommended swaps based on the current
8989
state of your node's channels and it's liquidity manager parameters.
9090
Note that only loop out suggestions are currently supported.

looprpc/client.swagger.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"paths": {
1414
"/v1/auto/suggest": {
1515
"get": {
16-
"summary": "SuggestSwaps returns a list of recommended swaps based on the current\nstate of your node's channels and it's liquidity manager parameters.\nNote that only loop out suggestions are currently supported.\n[EXPERIMENTAL]: endpoint is subject to change.",
16+
"summary": "loop: `suggestswaps`\nSuggestSwaps returns a list of recommended swaps based on the current\nstate of your node's channels and it's liquidity manager parameters.\nNote that only loop out suggestions are currently supported.\n[EXPERIMENTAL]: endpoint is subject to change.",
1717
"operationId": "SuggestSwaps",
1818
"responses": {
1919
"200": {
@@ -36,7 +36,7 @@
3636
},
3737
"/v1/liquidity/params": {
3838
"get": {
39-
"summary": "GetLiquidityParams gets the parameters that the daemon's liquidity manager\nis currently configured with. This may be nil if nothing is configured.\n[EXPERIMENTAL]: endpoint is subject to change.",
39+
"summary": "loop: `getparams`\nGetLiquidityParams gets the parameters that the daemon's liquidity manager\nis currently configured with. This may be nil if nothing is configured.\n[EXPERIMENTAL]: endpoint is subject to change.",
4040
"operationId": "GetLiquidityParams",
4141
"responses": {
4242
"200": {
@@ -57,7 +57,7 @@
5757
]
5858
},
5959
"post": {
60-
"summary": "SetLiquidityParams sets a new set of parameters for the daemon's liquidity\nmanager. Note that the full set of parameters must be provided, because\nthis call fully overwrites our existing parameters.\n[EXPERIMENTAL]: endpoint is subject to change.",
60+
"summary": "loop: `setparams`\nSetLiquidityParams sets a new set of parameters for the daemon's liquidity\nmanager. Note that the full set of parameters must be provided, because\nthis call fully overwrites our existing parameters.\n[EXPERIMENTAL]: endpoint is subject to change.",
6161
"operationId": "SetLiquidityParams",
6262
"responses": {
6363
"200": {

0 commit comments

Comments
 (0)