Skip to content

Commit

Permalink
add swagger response for mempool full
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Aug 2, 2022
1 parent 746eabb commit 6f2797b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4082,6 +4082,17 @@ x-errMalformedTxPayload: &errMalformedTxPayload
type: string
enum: ['malformed_tx_payload']

x-errMempoolIsFull: &errMempoolIsFull
<<: *responsesErr
title: malformed_tx_payload
properties:
message:
type: string
description: May occur when submitting a serialized transaction to an external service with full mempool.
code:
type: string
enum: ['mempool_is_full']

x-errTokensMintedButNotSpentOrBurned: &errTokensMintedButNotSpentOrBurned
<<: *responsesErr
title: tokens_minted_but_not_spent_or_burned
Expand Down Expand Up @@ -5497,6 +5508,8 @@ x-responsesPostExternalTransaction: &responsesPostExternalTransaction
<<: *responsesErr400
<<: *responsesErr406
<<: *responsesErr415UnsupportedMediaType
425:
description: Mempool is full, please try resubmitting again later.
202:
description: Accepted
content:
Expand Down

0 comments on commit 6f2797b

Please sign in to comment.