Skip to content

Commit

Permalink
Merge pull request #2181 from ergoplatform/i2178
Browse files Browse the repository at this point in the history
Fixed OpenAPI description for /wallet/getPrivateKey argument
  • Loading branch information
kushti authored Aug 18, 2024
2 parents fd65a38 + 45a9082 commit 239c434
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/resources/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -4881,7 +4890,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/ErgoAddress"
$ref: "#/components/schemas/PrivateKeyRequest"
responses:
'200':
description: Successfully retrieved secret key
Expand Down

0 comments on commit 239c434

Please sign in to comment.