Skip to content

Commit

Permalink
Update OpenAPI specification for errUtxoTooSmall.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Oct 27, 2022
1 parent 92ef253 commit 9ef3769
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4884,10 +4884,24 @@ x-errUtxoTooSmall: &errUtxoTooSmall
properties:
message:
type: string
description: May occur when a requested output is below the minimum utxo value.
description:
Occurs when a requested output has a quantity of lovelace that is below
the minimum required by the ledger.
code:
type: string
enum: ['utxo_too_small']
info:
type: object
required:
- tx_output_index
- tx_output_lovelace_specified
- tx_output_lovelace_required_minimum
properties:
tx_output_index:
type: integer
minimum: 0
tx_output_lovelace_specified: *amount
tx_output_lovelace_required_minimum: *amount

x-errMinWithdrawalWrong: &errMinWithdrawalWrong
<<: *responsesErr
Expand Down

0 comments on commit 9ef3769

Please sign in to comment.