Skip to content

Commit

Permalink
Merge PR #4014: Update Swagger Config
Browse files Browse the repository at this point in the history
  • Loading branch information
sabau authored and alexanderbez committed Apr 2, 2019
1 parent 3b9a1f7 commit ecd2bfa
Showing 1 changed file with 44 additions and 19 deletions.
63 changes: 44 additions & 19 deletions client/lcd/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tags:
description: Query app version
schemes:
- https
host: fabo.interblock.io:1317
host: stargate.cosmos.network
securityDefinitions:
kms:
type: basic
Expand Down Expand Up @@ -65,6 +65,17 @@ paths:
moniker:
type: string
example: validator-name
protocol_version:
properties:
p2p:
type: string
example: 7
block:
type: string
example: 10
app:
type: string
example: 0
network:
type: string
example: gaia-2
Expand All @@ -79,9 +90,14 @@ paths:
example: 0.15.0
other:
description: more information on versions
type: array
items:
type: string
type: object
properties:
tx_index:
type: string
example: on
rpc_address:
type: string
example: tcp://0.0.0.0:26657
500:
description: Failed to query node status
/syncing:
Expand Down Expand Up @@ -1633,20 +1649,20 @@ paths:
type: string
x-example: cosmosvaloper1qwl879nx9t6kef4supyazayf7vjhennyh568ys
get:
summary: Fee distribution outstanding rewards of a single validator
tags:
- ICS24
produces:
- application/json
responses:
200:
description: OK
schema:
type: array
items:
$ref: "#/definitions/Coin"
500:
description: Internal Server Error
summary: Fee distribution outstanding rewards of a single validator
tags:
- ICS24
produces:
- application/json
responses:
200:
description: OK
schema:
type: array
items:
$ref: "#/definitions/Coin"
500:
description: Internal Server Error
/distribution/validators/{validatorAddr}/rewards:
parameters:
- in: path
Expand Down Expand Up @@ -2014,6 +2030,15 @@ definitions:
$ref: "#/definitions/Hash"
proposer_address:
$ref: "#/definitions/Address"
version:
type: object
properties:
block:
type: string
example: 10
app:
type: string
example: 0
Block:
type: object
properties:
Expand Down Expand Up @@ -2112,7 +2137,7 @@ definitions:
pub_key:
type: string
example: cosmosvalconspub1zcjduepq7sjfglw7ra4mjxpw4ph7dtdhdheh7nz8dfgl6t8u2n5szuuql9mqsrwquu
power:
voting_power:
type: string
example: "1000"
proposer_priority:
Expand Down

0 comments on commit ecd2bfa

Please sign in to comment.