From 9f614964bbcd969b406889886c43b2253377507a Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 26 Apr 2024 17:15:46 +0800 Subject: [PATCH] gen doc --- client/docs/config.json | 8 +++++ client/docs/swagger-ui/swagger.yaml | 50 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/client/docs/config.json b/client/docs/config.json index 59927bc19f..dfa434bdd8 100644 --- a/client/docs/config.json +++ b/client/docs/config.json @@ -14,6 +14,14 @@ } } }, + { + "url": "./tmp-swagger-gen/e2ee/query.swagger.json", + "operationIds": { + "rename": { + "Params": "Keys" + } + } + }, { "url": "./tmp-swagger-gen/ethermint/evm/v1/query.swagger.json", "operationIds": { diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml index 8618dc42f9..fd0103c893 100644 --- a/client/docs/swagger-ui/swagger.yaml +++ b/client/docs/swagger-ui/swagger.yaml @@ -884,6 +884,49 @@ paths: type: string tags: - Query + /e2ee/v1/key/{address}: + get: + summary: Key queries the encryption key of a given address + operationId: Key + responses: + '200': + description: A successful response. + schema: + type: object + properties: + key: + type: string + format: byte + description: KeyResponse is the response type for the Query/Key RPC method. + 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: address + in: path + required: true + type: string + tags: + - Query /ethermint/evm/v1/account/{address}: get: summary: Account queries an Ethereum account. @@ -45506,6 +45549,13 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + e2ee.KeyResponse: + type: object + properties: + key: + type: string + format: byte + description: KeyResponse is the response type for the Query/Key RPC method. ethermint.evm.v1.ChainConfig: type: object properties: