Skip to content

Commit

Permalink
try swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Dec 11, 2024
1 parent 260e8c0 commit 0904791
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,6 @@ x-stakePoolId: &stakePoolId
example: pool1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
description: A unique identifier for the pool.

x-drepID: &drepID
type: string
format: bech32
example: drep1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
description: DRep's key/script hash in accordance to CIP-0129.
pattern: "^(drep)1[0-9a-z]*$"

x-walletAccountXPubkey: &walletAccountXPubkey
description: An extended account public key (public key + chain code)
type: string
Expand Down Expand Up @@ -2956,6 +2949,13 @@ components:
description: |
The result of signing a transaction (serialized and encoded).
ApiDrepID: &ApiDrepID
type: string
format: bech32
example: drep1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
description: DRep's key/script hash in accordance to CIP-0129.
pattern: "^(drep)1[0-9a-z]*$"

ApiDRep: &ApiDRep
description: |
Decentralized representative (DRep)
Expand All @@ -2970,7 +2970,7 @@ components:
- abstain
- no_confidence
title: casting a default vote
- <<: *drepID
- <<: *ApiDrepID
title: vote to a drep represented by key/script hash

ApiWalletDelegationNext: &ApiWalletDelegationNext
Expand Down

0 comments on commit 0904791

Please sign in to comment.