Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Dec 16, 2024
1 parent f9d9b9a commit d1f52e7
Show file tree
Hide file tree
Showing 13 changed files with 978 additions and 1 deletion.
474 changes: 474 additions & 0 deletions doc/index.html

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,29 @@
]
}
},
"/api/v1/prices/add_coin_by_gecko": {
"post": {
"operationId": "AddCoinByGecko",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/price_service.AddCoinByGeckoRequest"
}
}
]
}
},
"/api/v1/prices/batch": {
"post": {
"summary": "Batch get prices",
Expand Down Expand Up @@ -5586,6 +5609,54 @@
}
}
},
"price_service.AddCoinByGeckoRequest": {
"type": "object",
"properties": {
"coingeckoId": {
"type": "string"
}
}
},
"price_service.AddCoinByGeckoResponse": {
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/price_service.AddCoinByGeckoResponse.Status"
},
"message": {
"type": "string"
},
"currentPrice": {
"type": "number",
"format": "double"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"symbol": {
"type": "string"
},
"coins": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/price_service.CoinID"
}
}
}
},
"price_service.AddCoinByGeckoResponse.Status": {
"type": "string",
"enum": [
"OK",
"ALREADY_EXISTS",
"MISMATCH_WITH_EXISTING",
"GECKO_NOT_FOUND",
"GECKO_RETURN_NON_SUPPORTED_CHAIN"
],
"default": "OK"
},
"price_service.BatchGetPricesRequest": {
"type": "object",
"properties": {
Expand Down
64 changes: 64 additions & 0 deletions src/DefaultApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 98 additions & 0 deletions src/apis/DefaultApi.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/models/ObjectSerializer.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions src/models/PriceServiceAddCoinByGeckoRequest.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1f52e7

Please sign in to comment.