Add example to cryptoCode in greenfield doc

This commit is contained in:
nicolas.dorier 2021-12-22 11:39:43 +09:00
parent b2c1846ebb
commit 9843f66bb6
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
8 changed files with 74 additions and 37 deletions

View file

@ -1156,7 +1156,8 @@
},
"cryptoCode": {
"type": "string",
"description": "Crypto code of the payment method (e.g., \"BTC\" or \"LTC\")"
"description": "Crypto code of the payment method (e.g., \"BTC\" or \"LTC\")",
"example": "BTC"
},
"destination": {
"type": "string",

View file

@ -14,7 +14,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the lightning node",
@ -61,7 +62,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Connect to another lightning node.",
@ -131,7 +133,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the current channels of the lightning node",
@ -176,7 +179,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Open a channel with another lightning node. You should connect to that node first.",
@ -243,7 +247,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Get an on-chain deposit address for the lightning node ",
@ -292,7 +297,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
} , {
"name": "id",
"in": "path",
@ -347,7 +353,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Pay a lightning invoice.",
@ -417,7 +424,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Create a lightning invoice.",

View file

@ -14,7 +14,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -70,7 +71,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -149,7 +151,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -203,7 +206,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -283,7 +287,8 @@
"schema": {
"type": "string",
"description": "A bitcoin address belonging to the lightning node"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -340,7 +345,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -405,7 +411,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",
@ -484,7 +491,8 @@
"description": "The cryptoCode of the lightning-node to query",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "storeId",

View file

@ -89,7 +89,8 @@
"properties": {
"cryptoCode": {
"type": "string",
"description": "The CryptoCode of the crypto currency (eg. BTC)"
"description": "The CryptoCode of the crypto currency (eg. BTC)",
"example": "BTC"
},
"nodeInformation": {
"$ref": "#/components/schemas/ApplicationServerInfoNodeStatusData"

View file

@ -73,7 +73,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the specified payment method",
@ -127,7 +128,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Update the specified store's payment method",
@ -203,7 +205,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Removes the specified store payment method.",

View file

@ -73,7 +73,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the specified payment method",
@ -127,7 +128,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Update the specified store's payment method",
@ -203,7 +205,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Removes the specified store payment method.",

View file

@ -73,7 +73,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the specified payment method",
@ -127,7 +128,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Update the specified store's payment method",
@ -203,7 +205,8 @@
"description": "The crypto code of the payment method to update",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Removes the specified store payment method.",
@ -261,7 +264,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "offset",
@ -333,7 +337,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "offset",

View file

@ -23,7 +23,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "View information about the specified wallet",
@ -79,7 +80,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "blockTarget",
@ -145,7 +147,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "forceGenerate",
@ -209,7 +212,8 @@
"description": "The crypto code of the payment method to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "UnReserve address",
@ -258,7 +262,8 @@
"description": "The crypto code of the wallet to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "statusFilter",
@ -345,7 +350,8 @@
"description": "The crypto code of the wallet",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"requestBody": {
@ -419,7 +425,8 @@
"description": "The crypto code of the wallet to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
},
{
"name": "transactionId",
@ -484,7 +491,8 @@
"description": "The crypto code of the wallet to fetch",
"schema": {
"type": "string"
}
},
"example": "BTC"
}
],
"description": "Get store on-chain wallet utxos",