Skip to content

Commit 94b98ed

Browse files
authored
Problem: ica swagger is not updated (#1218)
1 parent 760f8b9 commit 94b98ed

File tree

2 files changed

+225
-0
lines changed

2 files changed

+225
-0
lines changed

client/docs/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,22 @@
171171
"Params": "TransferParams"
172172
}
173173
}
174+
},
175+
{
176+
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/controller/v1/query.swagger.json",
177+
"operationIds": {
178+
"rename": {
179+
"Params": "InterchainAccountsControllerParams"
180+
}
181+
}
182+
},
183+
{
184+
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/host/v1/query.swagger.json",
185+
"operationIds": {
186+
"rename": {
187+
"Params": "InterchainAccountsHostParams"
188+
}
189+
}
174190
}
175191
]
176192
}

client/docs/swagger-ui/swagger.yaml

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43623,6 +43623,153 @@ paths:
4362343623
format: byte
4362443624
tags:
4362543625
- Query
43626+
/ibc/apps/interchain_accounts/controller/v1/owners/{owner}/connections/{connection_id}:
43627+
get:
43628+
summary: >-
43629+
InterchainAccount returns the interchain account address for a given
43630+
owner address on a given connection
43631+
operationId: InterchainAccount
43632+
responses:
43633+
'200':
43634+
description: A successful response.
43635+
schema:
43636+
type: object
43637+
properties:
43638+
address:
43639+
type: string
43640+
description: >-
43641+
QueryInterchainAccountResponse the response type for the
43642+
Query/InterchainAccount RPC method.
43643+
default:
43644+
description: An unexpected error response.
43645+
schema:
43646+
type: object
43647+
properties:
43648+
error:
43649+
type: string
43650+
code:
43651+
type: integer
43652+
format: int32
43653+
message:
43654+
type: string
43655+
details:
43656+
type: array
43657+
items:
43658+
type: object
43659+
properties:
43660+
type_url:
43661+
type: string
43662+
value:
43663+
type: string
43664+
format: byte
43665+
parameters:
43666+
- name: owner
43667+
in: path
43668+
required: true
43669+
type: string
43670+
- name: connection_id
43671+
in: path
43672+
required: true
43673+
type: string
43674+
tags:
43675+
- Query
43676+
/ibc/apps/interchain_accounts/controller/v1/params:
43677+
get:
43678+
summary: Params queries all parameters of the ICA controller submodule.
43679+
operationId: InterchainAccountsControllerParams
43680+
responses:
43681+
'200':
43682+
description: A successful response.
43683+
schema:
43684+
type: object
43685+
properties:
43686+
params:
43687+
description: params defines the parameters of the module.
43688+
type: object
43689+
properties:
43690+
controller_enabled:
43691+
type: boolean
43692+
description: >-
43693+
controller_enabled enables or disables the controller
43694+
submodule.
43695+
description: >-
43696+
QueryParamsResponse is the response type for the Query/Params RPC
43697+
method.
43698+
default:
43699+
description: An unexpected error response.
43700+
schema:
43701+
type: object
43702+
properties:
43703+
error:
43704+
type: string
43705+
code:
43706+
type: integer
43707+
format: int32
43708+
message:
43709+
type: string
43710+
details:
43711+
type: array
43712+
items:
43713+
type: object
43714+
properties:
43715+
type_url:
43716+
type: string
43717+
value:
43718+
type: string
43719+
format: byte
43720+
tags:
43721+
- Query
43722+
/ibc/apps/interchain_accounts/host/v1/params:
43723+
get:
43724+
summary: Params queries all parameters of the ICA host submodule.
43725+
operationId: InterchainAccountsHostParams
43726+
responses:
43727+
'200':
43728+
description: A successful response.
43729+
schema:
43730+
type: object
43731+
properties:
43732+
params:
43733+
description: params defines the parameters of the module.
43734+
type: object
43735+
properties:
43736+
host_enabled:
43737+
type: boolean
43738+
description: host_enabled enables or disables the host submodule.
43739+
allow_messages:
43740+
type: array
43741+
items:
43742+
type: string
43743+
description: >-
43744+
allow_messages defines a list of sdk message typeURLs
43745+
allowed to be executed on a host chain.
43746+
description: >-
43747+
QueryParamsResponse is the response type for the Query/Params RPC
43748+
method.
43749+
default:
43750+
description: An unexpected error response.
43751+
schema:
43752+
type: object
43753+
properties:
43754+
error:
43755+
type: string
43756+
code:
43757+
type: integer
43758+
format: int32
43759+
message:
43760+
type: string
43761+
details:
43762+
type: array
43763+
items:
43764+
type: object
43765+
properties:
43766+
type_url:
43767+
type: string
43768+
value:
43769+
type: string
43770+
format: byte
43771+
tags:
43772+
- Query
4362643773
definitions:
4362743774
cronos.ContractByDenomResponse:
4362843775
type: object
@@ -70915,3 +71062,65 @@ definitions:
7091571062
description: >-
7091671063
QueryTotalEscrowForDenomResponse is the response type for
7091771064
TotalEscrowForDenom RPC method.
71065+
ibc.applications.interchain_accounts.controller.v1.Params:
71066+
type: object
71067+
properties:
71068+
controller_enabled:
71069+
type: boolean
71070+
description: controller_enabled enables or disables the controller submodule.
71071+
description: |-
71072+
Params defines the set of on-chain interchain accounts parameters.
71073+
The following parameters may be used to disable the controller submodule.
71074+
ibc.applications.interchain_accounts.controller.v1.QueryInterchainAccountResponse:
71075+
type: object
71076+
properties:
71077+
address:
71078+
type: string
71079+
description: >-
71080+
QueryInterchainAccountResponse the response type for the
71081+
Query/InterchainAccount RPC method.
71082+
ibc.applications.interchain_accounts.controller.v1.QueryParamsResponse:
71083+
type: object
71084+
properties:
71085+
params:
71086+
description: params defines the parameters of the module.
71087+
type: object
71088+
properties:
71089+
controller_enabled:
71090+
type: boolean
71091+
description: controller_enabled enables or disables the controller submodule.
71092+
description: QueryParamsResponse is the response type for the Query/Params RPC method.
71093+
ibc.applications.interchain_accounts.host.v1.Params:
71094+
type: object
71095+
properties:
71096+
host_enabled:
71097+
type: boolean
71098+
description: host_enabled enables or disables the host submodule.
71099+
allow_messages:
71100+
type: array
71101+
items:
71102+
type: string
71103+
description: >-
71104+
allow_messages defines a list of sdk message typeURLs allowed to be
71105+
executed on a host chain.
71106+
description: |-
71107+
Params defines the set of on-chain interchain accounts parameters.
71108+
The following parameters may be used to disable the host submodule.
71109+
ibc.applications.interchain_accounts.host.v1.QueryParamsResponse:
71110+
type: object
71111+
properties:
71112+
params:
71113+
description: params defines the parameters of the module.
71114+
type: object
71115+
properties:
71116+
host_enabled:
71117+
type: boolean
71118+
description: host_enabled enables or disables the host submodule.
71119+
allow_messages:
71120+
type: array
71121+
items:
71122+
type: string
71123+
description: >-
71124+
allow_messages defines a list of sdk message typeURLs allowed to
71125+
be executed on a host chain.
71126+
description: QueryParamsResponse is the response type for the Query/Params RPC method.

0 commit comments

Comments
 (0)