Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] Try reverting change in swagger
Browse files Browse the repository at this point in the history
We have troubles with CI and bump CLI failing to check diff of API and
we don't know why...
abailly committed Dec 11, 2024

Verified

This commit was signed with the committer’s verified signature.
abailly Arnaud Bailly
1 parent 0904791 commit d9c7c75
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
@@ -399,6 +399,20 @@ x-stakePoolId: &stakePoolId
example: pool1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
description: A unique identifier for the pool.

x-drepKeyHash: &drepKeyHash
type: string
format: bech32
example: drep1wqaz0q0zhtxlgn0ewssevn2mrtm30fgh2g7hr7z9rj5856457mm
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
@@ -2949,13 +2963,6 @@ 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)
@@ -2970,8 +2977,10 @@ components:
- abstain
- no_confidence
title: casting a default vote
- <<: *ApiDrepID
title: vote to a drep represented by key/script hash
- <<: *drepKeyHash
title: vote to a drep represented by key hash
- <<: *drepScriptHash
title: vote to a drep represented by script hash

ApiWalletDelegationNext: &ApiWalletDelegationNext
type: object

0 comments on commit d9c7c75

Please sign in to comment.