Skip to content

Commit

Permalink
fix: wrong types in swagger (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Czino committed Feb 15, 2024
1 parent 6891a75 commit 3dab64b
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 181 deletions.
4 changes: 2 additions & 2 deletions lib/api/v2/routers/SwapRouter.ts
Expand Up @@ -94,7 +94,7 @@ class SwapRouter extends RouterBase {
* type: number
* required: true
* description: Maximal amount that can be swapped in satoshis
* maximalZeroConfAmount:
* maximalZeroConf:
* type: number
* required: true
* description: Maximal amount that will be accepted 0-conf in satoshis
Expand Down Expand Up @@ -705,7 +705,7 @@ class SwapRouter extends RouterBase {
* type: string
* description: EVM address with which the Reverse Swap can be claimed
* invoiceAmount:
* type: string
* type: number
* description: Amount for which the invoice should be; conflicts with "onchainAmount"
* onchainAmount:
* type: string
Expand Down

0 comments on commit 3dab64b

Please sign in to comment.