Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TonAPI SDK #36

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ paths:
parameters:
- $ref: '#/components/parameters/accountIDParameter'
- $ref: '#/components/parameters/currenciesQuery'
- $ref: '#/components/parameters/supportedExtensions'
responses:
'200':
description: account jettons balances
Expand Down Expand Up @@ -1751,7 +1752,7 @@ paths:

/v2/rates:
get:
description: Get the token price to the currency
description: Get the token price in the chosen currency for display only. Don’t use this for financial transactions.
operationId: getRates
tags:
- Rates
Expand Down Expand Up @@ -3002,6 +3003,17 @@ components:
items:
type: string
example: [ "ton", "usd", "rub" ]
supportedExtensions:
in: query
name: supported_extensions
description: "comma separated list supported extensions"
explode: false
required: false
schema:
type: array
items:
type: string
example: ["custom_payload"]
currencyQuery:
in: query
name: currency
Expand Down Expand Up @@ -5482,6 +5494,7 @@ components:
- signers
- approvals_num
- expiration_date
- risk
properties:
address:
type: string
Expand Down Expand Up @@ -5509,6 +5522,8 @@ components:
expiration_date:
type: integer
format: int64
risk:
$ref: '#/components/schemas/Risk'
Refund:
type: object
required:
Expand Down
29 changes: 27 additions & 2 deletions oas_client_gen.go

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

19 changes: 17 additions & 2 deletions oas_json_gen.go

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

2 changes: 2 additions & 0 deletions oas_parameters_gen.go

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

11 changes: 11 additions & 0 deletions oas_schemas_gen.go

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

11 changes: 11 additions & 0 deletions oas_validators_gen.go

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