Skip to content

Commit

Permalink
add swagger - part3
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Nov 30, 2021
1 parent 0d7b2db commit c3fda37
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specifications/api/swagger.yaml
Expand Up @@ -2484,6 +2484,15 @@ components:
pool_pledge: *stakePoolPledge
pool_metadata: *ApiStakePoolMetadata

ApiDeregisterPool: &ApiDeregisterPool
type: object
required:
- pool_id
- retirement_epoch
properties:
pool_id: *stakePoolId
retirement_epoch: *epochNumber

ApiCertificate: &ApiCertificate
description: |
Any certificate that could occur in an arbitrary transaction:
Expand All @@ -2495,6 +2504,8 @@ components:
title: delegation certificate not belonging to the wallet
- <<: *ApiRegisterPool
title: pool registration certificate
- <<: *ApiDeregisterPool
title: pool deregistration certificate

ApiDecodedTransaction: &ApiDecodedTransaction
type: object
Expand Down

0 comments on commit c3fda37

Please sign in to comment.