Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Oct 25, 2023
2 parents 0436614 + eb71a33 commit 7815d40
Show file tree
Hide file tree
Showing 10 changed files with 548 additions and 550 deletions.
74 changes: 37 additions & 37 deletions api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3126,46 +3126,43 @@
"type": "object"
},
"TokenRates": {
"additionalProperties": {
"properties": {
"diff_24h": {
"additionalProperties": {
"type": "string"
},
"example": {
"TON": "-1.28%"
},
"type": "object"
"properties": {
"diff_24h": {
"additionalProperties": {
"type": "string"
},
"diff_30d": {
"additionalProperties": {
"type": "string"
},
"example": {
"TON": "-0.56%"
},
"type": "object"
"example": {
"TON": "-1.28%"
},
"diff_7d": {
"additionalProperties": {
"type": "string"
},
"example": {
"TON": "-2.74%"
},
"type": "object"
"type": "object"
},
"diff_30d": {
"additionalProperties": {
"type": "string"
},
"prices": {
"additionalProperties": {
"type": "number"
},
"example": {
"TON": 1.3710752873163712
},
"type": "object"
}
"example": {
"TON": "-0.56%"
},
"type": "object"
},
"type": "object"
"diff_7d": {
"additionalProperties": {
"type": "string"
},
"example": {
"TON": "-2.74%"
},
"type": "object"
},
"prices": {
"additionalProperties": {
"type": "number"
},
"example": {
"TON": 1.3710752873163712
},
"type": "object"
}
},
"type": "object"
},
Expand Down Expand Up @@ -6405,7 +6402,10 @@
"schema": {
"properties": {
"rates": {
"$ref": "#/components/schemas/TokenRates"
"additionalProperties": {
"$ref": "#/components/schemas/TokenRates"
},
"type": "object"
}
},
"required": [
Expand Down
58 changes: 29 additions & 29 deletions api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,9 @@ paths:
- rates
properties:
rates:
$ref: '#/components/schemas/TokenRates'
type: object
additionalProperties:
$ref: '#/components/schemas/TokenRates'
'default':
$ref: '#/components/responses/Error'
/v2/rates/chart:
Expand Down Expand Up @@ -4733,34 +4735,32 @@ components:
- liquidTF
TokenRates:
type: object
additionalProperties:
type: object
properties:
prices:
type: object
additionalProperties:
type: number
example:
TON: 1.3710752873163712
diff_24h:
type: object
additionalProperties:
type: string
example:
TON: "-1.28%"
diff_7d:
type: object
additionalProperties:
type: string
example:
TON: "-2.74%"
diff_30d:
type: object
additionalProperties:
type: string
example:
TON: "-0.56%"

properties:
prices:
type: object
additionalProperties:
type: number
example:
TON: 1.3710752873163712
diff_24h:
type: object
additionalProperties:
type: string
example:
TON: "-1.28%"
diff_7d:
type: object
additionalProperties:
type: string
example:
TON: "-2.74%"
diff_30d:
type: object
additionalProperties:
type: string
example:
TON: "-0.56%"

responses:
Error:
description: Some error during request processing
Expand Down
Loading

0 comments on commit 7815d40

Please sign in to comment.