Skip to content

Commit

Permalink
Problem: icaauth swagger is not updated
Browse files Browse the repository at this point in the history
rm host params, add icaauth query params
  • Loading branch information
mmsqe committed Oct 24, 2023
1 parent 44d0284 commit 461c0ae
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 43 deletions.
4 changes: 2 additions & 2 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/host/v1/query.swagger.json",
"url": "./tmp-swagger-gen/icaauth/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "InterchainAccountsHostParams"
"Params": "IcaauthParams"
}
}
}
Expand Down
131 changes: 90 additions & 41 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43719,32 +43719,82 @@ paths:
format: byte
tags:
- Query
/ibc/apps/interchain_accounts/host/v1/params:
/cronos/icaauth/v1/interchain_account_address/{connection_id}/{owner}:
get:
summary: Params queries all parameters of the ICA host submodule.
operationId: InterchainAccountsHostParams
summary: >-
InterchainAccountAddress queries the interchain account address for
given

`connection_id` and `owner`
operationId: InterchainAccountAddress
responses:
'200':
description: A successful response.
schema:
type: object
properties:
interchain_account_address:
type: string
description: |-
QueryInterchainAccountAddressResponse defines the response for the
InterchainAccountAddress query.
default:
description: An unexpected error response.
schema:
type: object
properties:
error:
type: string
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
type_url:
type: string
value:
type: string
format: byte
parameters:
- name: connection_id
in: path
required: true
type: string
- name: owner
in: path
required: true
type: string
tags:
- Query
/cronos/icaauth/v1/params:
get:
summary: Parameters queries the parameters of the module.
operationId: IcaauthParams
responses:
'200':
description: A successful response.
schema:
type: object
properties:
params:
description: params defines the parameters of the module.
description: params holds all the parameters of this module.
type: object
properties:
host_enabled:
type: boolean
description: host_enabled enables or disables the host submodule.
allow_messages:
type: array
items:
type: string
description: >-
allow_messages defines a list of sdk message typeURLs
allowed to be executed on a host chain.
min_timeout_duration:
type: string
title: >-
min_timeout_duration defines the minimum value of packet
timeout when

submitting transactions to host chain on behalf of
interchain account
description: >-
QueryParamsResponse is the response type for the Query/Params RPC
QueryParamsResponse is response type for the Query/Params RPC
method.
default:
description: An unexpected error response.
Expand Down Expand Up @@ -71090,37 +71140,36 @@ definitions:
type: boolean
description: controller_enabled enables or disables the controller submodule.
description: QueryParamsResponse is the response type for the Query/Params RPC method.
ibc.applications.interchain_accounts.host.v1.Params:
icaauth.v1.Params:
type: object
properties:
host_enabled:
type: boolean
description: host_enabled enables or disables the host submodule.
allow_messages:
type: array
items:
type: string
description: >-
allow_messages defines a list of sdk message typeURLs allowed to be
executed on a host chain.
min_timeout_duration:
type: string
title: |-
min_timeout_duration defines the minimum value of packet timeout when
submitting transactions to host chain on behalf of interchain account
description: Params defines the parameters for the module.
icaauth.v1.QueryInterchainAccountAddressResponse:
type: object
properties:
interchain_account_address:
type: string
description: |-
Params defines the set of on-chain interchain accounts parameters.
The following parameters may be used to disable the host submodule.
ibc.applications.interchain_accounts.host.v1.QueryParamsResponse:
QueryInterchainAccountAddressResponse defines the response for the
InterchainAccountAddress query.
icaauth.v1.QueryParamsResponse:
type: object
properties:
params:
description: params defines the parameters of the module.
description: params holds all the parameters of this module.
type: object
properties:
host_enabled:
type: boolean
description: host_enabled enables or disables the host submodule.
allow_messages:
type: array
items:
type: string
description: >-
allow_messages defines a list of sdk message typeURLs allowed to
be executed on a host chain.
description: QueryParamsResponse is the response type for the Query/Params RPC method.
min_timeout_duration:
type: string
title: >-
min_timeout_duration defines the minimum value of packet timeout
when

submitting transactions to host chain on behalf of interchain
account
description: QueryParamsResponse is response type for the Query/Params RPC method.

0 comments on commit 461c0ae

Please sign in to comment.