Skip to content

Commit

Permalink
add swagger - part4
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Nov 30, 2021
1 parent c3fda37 commit f7b3f18
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specifications/api/swagger.yaml
Expand Up @@ -1228,6 +1228,17 @@ x-certificateNotOurs: &certificateNotOurs
reward_account:
<<: *anyAddress

x-otherCertificate: &otherCertificate
type: object
required:
- certificate
properties:
certificate:
type: string
enum:
- genesis
- mir

x-transactionRedemptionRequest: &transactionRedemptionRequest
<<: *walletMnemonicSentence
description: |
Expand Down Expand Up @@ -2506,6 +2517,8 @@ components:
title: pool registration certificate
- <<: *ApiDeregisterPool
title: pool deregistration certificate
- <<: *otherCertificate
title: genesis or MIR certificate

ApiDecodedTransaction: &ApiDecodedTransaction
type: object
Expand Down

0 comments on commit f7b3f18

Please sign in to comment.