Skip to content

Commit

Permalink
Revert swagger changes completeley
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Dec 13, 2024
1 parent a1de81e commit ff2515a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,13 @@ x-drepKeyHash: &drepKeyHash
description: DRep's key hash.
pattern: "^(drep)1[0-9a-z]*$"

x-drepScriptHash: &drepScriptHash
type: string
format: bech32
example: drep_script1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
description: DRep's script hash.
pattern: "^(drep_script)1[0-9a-z]*$"

x-walletAccountXPubkey: &walletAccountXPubkey
description: An extended account public key (public key + chain code)
type: string
Expand Down Expand Up @@ -2972,6 +2979,8 @@ components:
title: casting a default vote
- <<: *drepKeyHash
title: vote to a drep represented by key hash
- <<: *drepScriptHash
title: vote to a drep represented by script hash

ApiWalletDelegationNext: &ApiWalletDelegationNext
type: object
Expand Down

0 comments on commit ff2515a

Please sign in to comment.