Skip to content

Commit

Permalink
Reapply "Revert swagger"
Browse files Browse the repository at this point in the history
This reverts commit 416d826.
  • Loading branch information
Anviking committed Jan 6, 2025
1 parent 86e56e5 commit a6eab87
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5112,6 +5112,20 @@ x-errTxNotInNodeEra: &errTxNotInNodeEra
type: string
enum: ["tx_not_in_node_era"]

x-errBalanceTxConflictingNetworks: &errBalanceTxConflictingNetworks
<<: *responsesErr
title: balance_tx_conflicting_networks
properties:
message:
type: string
description: |
There are withdrawals for multiple networks
(e.g. both mainnet and testnet) in the provided transaction.
This makes no sense, and I'm confused.
code:
type: string
enum: ["balance_tx_conflicting_networks"]

x-errTranslationByronTxOutInContext: &errTranslationByronTxOutInContext
<<: *responsesErr
title: translation_byron_tx_out_in_context
Expand Down Expand Up @@ -6780,6 +6794,7 @@ x-responsesBalanceTransaction: &responsesBalanceTransaction
oneOf:
- <<: *errAlreadyWithdrawing
- <<: *errNodeNotYetInRecentEra
- <<: *errBalanceTxConflictingNetworks
- <<: *errBalanceTxExistingCollateral
- <<: *errBalanceTxExistingKeyWitnesses
- <<: *errBalanceTxExistingReturnCollateral
Expand Down

0 comments on commit a6eab87

Please sign in to comment.