From 88dcf1d4c58f5ab4f96e9fef6f3fc6fd12df5782 Mon Sep 17 00:00:00 2001 From: Alexander Chepurnoy Date: Mon, 12 Aug 2024 23:33:09 +0300 Subject: [PATCH] fixed /wallet/getPrivateKey description --- src/main/resources/api/openapi.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/resources/api/openapi.yaml b/src/main/resources/api/openapi.yaml index f3f3545e72..91defefecf 100644 --- a/src/main/resources/api/openapi.yaml +++ b/src/main/resources/api/openapi.yaml @@ -1302,6 +1302,15 @@ components: type: string description: hex-encoded serialized box bytes + PrivateKeyRequest: + description: Request for getting a secret corresponding to wallet address + type: object + required: + - address + properties: + address: + $ref: '#/components/schemas/ErgoAddress' + PaymentRequest: description: Request for generation of payment transaction to a given address type: object @@ -4881,7 +4890,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErgoAddress" + $ref: "#/components/schemas/PrivateKeyRequest" responses: '200': description: Successfully retrieved secret key