Skip to content

Commit

Permalink
update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Apr 29, 2024
1 parent 48c8d89 commit 31013ba
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 20 deletions.
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

81 changes: 64 additions & 17 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36710,6 +36710,7 @@ paths:
- Query
/opinit/opchild/v1/bridge_info:
get:
summary: BridgeInfo queries the bridge information.
operationId: BridgeInfo
responses:
'200':
Expand All @@ -36730,6 +36731,17 @@ paths:
bridge_addr:
type: string
description: bridge_addr is the address of the bridge on l1.
l1_chain_id:
type: string
description: l1_chain_id is the chain id of the l1 chain.
l1_client_id:
type: string
description: >-
l1_client_id is the IBC client ID, which is allocated for
l1 chain, in l2 chain state.

This is used to verify the validator set in oracle update
messages.
bridge_config:
description: bridge_config is the configuration of the bridge.
type: object
Expand Down Expand Up @@ -39739,8 +39751,10 @@ paths:
type: string
title: >-
actually minitias have no identity because they
haven't MsgCreateValidator, but we decided to keep
this field for compatibility with L1
haven't MsgCreateValidator,

but we decided to keep this field for compatibility
with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -39909,8 +39923,10 @@ paths:
type: string
title: >-
actually minitias have no identity because they
haven't MsgCreateValidator, but we decided to keep
this field for compatibility with L1
haven't MsgCreateValidator,

but we decided to keep this field for compatibility
with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -41981,7 +41997,9 @@ paths:
}
title: >-
QueryCollectionsResponse is the response type for the
Query/Collections RPC method
Query/Collections RPC

method
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -42107,7 +42125,9 @@ paths:
address
title: >-
QueryCollectionResponse is the response type for the
Query/Collection RPC method
Query/Collection RPC

method
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -66748,6 +66768,16 @@ definitions:
bridge_addr:
type: string
description: bridge_addr is the address of the bridge on l1.
l1_chain_id:
type: string
description: l1_chain_id is the chain id of the l1 chain.
l1_client_id:
type: string
description: >-
l1_client_id is the IBC client ID, which is allocated for l1 chain, in
l2 chain state.

This is used to verify the validator set in oracle update messages.
bridge_config:
description: bridge_config is the configuration of the bridge.
type: object
Expand Down Expand Up @@ -66835,7 +66865,7 @@ definitions:
items:
type: string
description: the list of addresses that are allowed to pay zero fee.
description: Params defines the set of move parameters.
description: Params defines the set of opchild parameters.
opinit.opchild.v1.QueryBridgeInfoResponse:
type: object
properties:
Expand All @@ -66852,6 +66882,17 @@ definitions:
bridge_addr:
type: string
description: bridge_addr is the address of the bridge on l1.
l1_chain_id:
type: string
description: l1_chain_id is the chain id of the l1 chain.
l1_client_id:
type: string
description: >-
l1_client_id is the IBC client ID, which is allocated for l1
chain, in l2 chain state.

This is used to verify the validator set in oracle update
messages.
bridge_config:
description: bridge_config is the configuration of the bridge.
type: object
Expand Down Expand Up @@ -68408,8 +68449,9 @@ definitions:
type: string
title: >-
actually minitias have no identity because they haven't
MsgCreateValidator, but we decided to keep this field for
compatibility with L1
MsgCreateValidator,

but we decided to keep this field for compatibility with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -68470,8 +68512,9 @@ definitions:
type: string
title: >-
actually minitias have no identity because they haven't
MsgCreateValidator, but we decided to keep this field for
compatibility with L1
MsgCreateValidator,

but we decided to keep this field for compatibility with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -68535,8 +68578,9 @@ definitions:
type: string
title: >-
actually minitias have no identity because they haven't
MsgCreateValidator, but we decided to keep this field for
compatibility with L1
MsgCreateValidator,

but we decided to keep this field for compatibility with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -68572,8 +68616,9 @@ definitions:
type: string
title: >-
actually minitias have no identity because they haven't
MsgCreateValidator, but we decided to keep this field for
compatibility with L1
MsgCreateValidator,

but we decided to keep this field for compatibility with L1
operator_address:
type: string
title: >-
Expand Down Expand Up @@ -69137,7 +69182,7 @@ definitions:
title: TokenHandle is an embedded message for CollectionData
title: Collection is the message for a collection of NFTs
title: IndexedCollection is wrapped Collection with its object address
title: >-
title: |-
QueryCollectionResponse is the response type for the Query/Collection RPC
method
indexer.nft.v1.QueryCollectionsResponse:
Expand Down Expand Up @@ -69199,7 +69244,9 @@ definitions:
}
title: >-
QueryCollectionsResponse is the response type for the Query/Collections
RPC method
RPC

method
indexer.nft.v1.QueryTokensResponse:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ github.com/initia-labs/iavl v0.0.0-20240415085037-7e81233cdd9e h1:1gkMWkAgVhYFhE
github.com/initia-labs/iavl v0.0.0-20240415085037-7e81233cdd9e/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM=
github.com/initia-labs/ibc-go/v8 v8.0.0-20240419124350-4275a05abe2c h1:FDwh5zZbm9v7C37ni4FytQQ9Os5XxYp1px5U7Nqdu2Y=
github.com/initia-labs/ibc-go/v8 v8.0.0-20240419124350-4275a05abe2c/go.mod h1:wj3qx75iC/XNnsMqbPDCIGs0G6Y3E/lo3bdqCyoCy+8=
github.com/initia-labs/initia v0.2.6 h1:+aMPlwwwYXdTylvTgmbhUKSXkq/k81hgkKooj8KWpw4=
github.com/initia-labs/initia v0.2.6 h1:WPXGgpmZA6zRJa2LlptnuC5KZSRSd2VG8c6H76l6NhE=
github.com/initia-labs/initia v0.2.6/go.mod h1:PFWX4I983j462shp3a1lLRheBiIfZrRoF/MQI/CsL9o=
github.com/initia-labs/kvindexer v0.1.0 h1:AwBWy76fZrwj+et1LMlcwvDQZyxuQ1IdBgx4R+94hiU=
github.com/initia-labs/kvindexer v0.1.0/go.mod h1:+2hInhMys7TFlGsAey2bFH4tA9fu+5/W17Ttecf1NHc=
Expand Down
2 changes: 1 addition & 1 deletion scripts/protoc-swagger-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ git clone -b $INITIA_VERSION https://$INITIA_URL
git clone -b $OPINIT_VERSION https://$OPINIT_URL
git clone -b $COSMOS_SDK_VERSION https://$COSMOS_URL
git clone -b $IBC_VERSION https://$IBC_URL
git clone -b move https://$INDEXER_URL
git clone -b $INDEXER_VERSION https://$INDEXER_URL
cd ..


Expand Down

0 comments on commit 31013ba

Please sign in to comment.