Skip to content

Commit d1f52e7

Browse files
author
Sentio Bot
committed
chore: update
1 parent f9d9b9a commit d1f52e7

13 files changed

+978
-1
lines changed

doc/index.html

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.

openapi.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,29 @@
11761176
]
11771177
}
11781178
},
1179+
"/api/v1/prices/add_coin_by_gecko": {
1180+
"post": {
1181+
"operationId": "AddCoinByGecko",
1182+
"responses": {
1183+
"200": {
1184+
"description": "A successful response.",
1185+
"schema": {
1186+
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse"
1187+
}
1188+
}
1189+
},
1190+
"parameters": [
1191+
{
1192+
"name": "body",
1193+
"in": "body",
1194+
"required": true,
1195+
"schema": {
1196+
"$ref": "#/definitions/price_service.AddCoinByGeckoRequest"
1197+
}
1198+
}
1199+
]
1200+
}
1201+
},
11791202
"/api/v1/prices/batch": {
11801203
"post": {
11811204
"summary": "Batch get prices",
@@ -5586,6 +5609,54 @@
55865609
}
55875610
}
55885611
},
5612+
"price_service.AddCoinByGeckoRequest": {
5613+
"type": "object",
5614+
"properties": {
5615+
"coingeckoId": {
5616+
"type": "string"
5617+
}
5618+
}
5619+
},
5620+
"price_service.AddCoinByGeckoResponse": {
5621+
"type": "object",
5622+
"properties": {
5623+
"status": {
5624+
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse.Status"
5625+
},
5626+
"message": {
5627+
"type": "string"
5628+
},
5629+
"currentPrice": {
5630+
"type": "number",
5631+
"format": "double"
5632+
},
5633+
"timestamp": {
5634+
"type": "string",
5635+
"format": "date-time"
5636+
},
5637+
"symbol": {
5638+
"type": "string"
5639+
},
5640+
"coins": {
5641+
"type": "array",
5642+
"items": {
5643+
"type": "object",
5644+
"$ref": "#/definitions/price_service.CoinID"
5645+
}
5646+
}
5647+
}
5648+
},
5649+
"price_service.AddCoinByGeckoResponse.Status": {
5650+
"type": "string",
5651+
"enum": [
5652+
"OK",
5653+
"ALREADY_EXISTS",
5654+
"MISMATCH_WITH_EXISTING",
5655+
"GECKO_NOT_FOUND",
5656+
"GECKO_RETURN_NON_SUPPORTED_CHAIN"
5657+
],
5658+
"default": "OK"
5659+
},
55895660
"price_service.BatchGetPricesRequest": {
55905661
"type": "object",
55915662
"properties": {

src/DefaultApi.md

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

src/apis/DefaultApi.ts

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

src/index.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/models/ObjectSerializer.ts

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

src/models/PriceServiceAddCoinByGeckoRequest.ts

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

0 commit comments

Comments
 (0)