Skip to content

Commit

Permalink
add 'minWithdrawal' query parameter to the swagger specification
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jul 10, 2020
1 parent 00c2d69 commit 533b772
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specifications/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,16 @@ x-parametersWithdrawal: &parametersWithdrawal
schema:
type: boolean

x-parametersMinWithdrawal: &parametersMinWithdrawal
in: query
name: minWithdrawal
description: |
Returns only transactions that have withdrawals above the given amount. This is particularly useful to list
all transactions with non-empty withdrawals.
schema:
type: integer
minimum: 0

#############################################################################
# #
# RESPONSES #
Expand Down Expand Up @@ -2000,6 +2010,7 @@ paths:
- *parametersStartDate
- *parametersEndDate
- *parametersSortOrder
- *parametersMinWithdrawal
responses: *responsesListTransactions

/wallets/{walletId}/transactions/{transactionId}:
Expand Down

0 comments on commit 533b772

Please sign in to comment.