Fix legacy rest api (#8434)
This commit is contained in:
parent
b19ac2c4f8
commit
92bc2904d3
|
@ -71,6 +71,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
|||
|
||||
* (keyring) [#\8635](https://github.com/cosmos/cosmos-sdk/issues/8635) Remove hardcoded default passphrase value on `NewMnemonic`
|
||||
* (x/evidence) [#8461](https://github.com/cosmos/cosmos-sdk/pull/8461) Fix bech32 prefix in evidence validator address conversion
|
||||
* (x/bank) [\#8434](https://github.com/cosmos/cosmos-sdk/pull/8434) Fix legacy REST API `GET /bank/total` and `GET /bank/total/{denom}` in swagger
|
||||
* (x/slashing) [\#8427](https://github.com/cosmos/cosmos-sdk/pull/8427) Fix query signing infos command
|
||||
* (server) [\#8399](https://github.com/cosmos/cosmos-sdk/pull/8399) fix gRPC-web flag default value
|
||||
* (server) [\#8641](https://github.com/cosmos/cosmos-sdk/pull/8641) Fix Tendermint and application configuration reading from file
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -446,6 +446,45 @@ paths:
|
|||
description: Invalid request
|
||||
500:
|
||||
description: Server internal error
|
||||
/bank/total:
|
||||
get:
|
||||
deprecated: true
|
||||
summary: Total supply of coins in the chain
|
||||
tags:
|
||||
- Bank
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
schema:
|
||||
$ref: "#/definitions/Supply"
|
||||
500:
|
||||
description: Internal Server Error
|
||||
/bank/total/{denomination}:
|
||||
parameters:
|
||||
- in: path
|
||||
name: denomination
|
||||
description: Coin denomination
|
||||
required: true
|
||||
type: string
|
||||
x-example: uatom
|
||||
get:
|
||||
deprecated: true
|
||||
summary: Total supply of a single coin denomination
|
||||
tags:
|
||||
- Bank
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
400:
|
||||
description: Invalid coin denomination
|
||||
500:
|
||||
description: Internal Server Error
|
||||
/auth/accounts/{address}:
|
||||
get:
|
||||
deprecated: true
|
||||
|
@ -1940,45 +1979,6 @@ paths:
|
|||
type: string
|
||||
500:
|
||||
description: Internal Server Error
|
||||
/supply/total:
|
||||
get:
|
||||
deprecated: true
|
||||
summary: Total supply of coins in the chain
|
||||
tags:
|
||||
- Supply
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
schema:
|
||||
$ref: "#/definitions/Supply"
|
||||
500:
|
||||
description: Internal Server Error
|
||||
/supply/total/{denomination}:
|
||||
parameters:
|
||||
- in: path
|
||||
name: denomination
|
||||
description: Coin denomination
|
||||
required: true
|
||||
type: string
|
||||
x-example: uatom
|
||||
get:
|
||||
deprecated: true
|
||||
summary: Total supply of a single coin denomination
|
||||
tags:
|
||||
- Supply
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
schema:
|
||||
type: string
|
||||
400:
|
||||
description: Invalid coin denomination
|
||||
500:
|
||||
description: Internal Server Error
|
||||
definitions:
|
||||
CheckTxResult:
|
||||
type: object
|
||||
|
|
Loading…
Reference in New Issue