Skip to content

Commit

Permalink
Multiple transaction types (#78)
Browse files Browse the repository at this point in the history
* Added more than one tx type

* Fixed typo
  • Loading branch information
dgarcia360 committed Feb 18, 2020
1 parent ee66f02 commit 8aaaaae
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
Expand Up @@ -8,7 +8,7 @@ parameters:
- $ref: "../../../parameters/pageSize.yml"
- $ref: "../../../parameters/transactionIdLimit.yml"
- $ref: "../../../parameters/ordering.yml"
- $ref: "../../../parameters/transactionType.yml"
- $ref: "../../../parameters/transactionTypes.yml"
responses:
"200":
description: success
Expand Down
Expand Up @@ -10,7 +10,7 @@ parameters:
- $ref: "../../../parameters/pageSize.yml"
- $ref: "../../../parameters/transactionIdLimit.yml"
- $ref: "../../../parameters/ordering.yml"
- $ref: "../../../parameters/transactionType.yml"
- $ref: "../../../parameters/transactionTypes.yml"
responses:
"200":
description: success
Expand Down
Expand Up @@ -10,7 +10,7 @@ parameters:
- $ref: "../../../parameters/pageSize.yml"
- $ref: "../../../parameters/transactionIdLimit.yml"
- $ref: "../../../parameters/ordering.yml"
- $ref: "../../../parameters/transactionType.yml"
- $ref: "../../../parameters/transactionTypes.yml"
responses:
"200":
description: success
Expand Down
2 changes: 1 addition & 1 deletion spec/core/account/routes/getAccountPartialTransactions.yml
Expand Up @@ -9,7 +9,7 @@ parameters:
- $ref: "../../../parameters/pageSize.yml"
- $ref: "../../../parameters/transactionIdLimit.yml"
- $ref: "../../../parameters/ordering.yml"
- $ref: "../../../parameters/transactionType.yml"
- $ref: "../../../parameters/transactionTypes.yml"
responses:
"200":
description: success
Expand Down
Expand Up @@ -8,7 +8,7 @@ parameters:
- $ref: "../../../parameters/pageSize.yml"
- $ref: "../../../parameters/transactionIdLimit.yml"
- $ref: "../../../parameters/ordering.yml"
- $ref: "../../../parameters/transactionType.yml"
- $ref: "../../../parameters/transactionTypes.yml"
responses:
"200":
description: success
Expand Down
2 changes: 1 addition & 1 deletion spec/parameters/_index.yml
Expand Up @@ -29,4 +29,4 @@ transactionId:
transactionIdLimit:
$ref: './transactionIdLimit.yml'
transactionType:
$ref: './transactionType.yml'
$ref: './transactionTypes.yml'
5 changes: 0 additions & 5 deletions spec/parameters/transactionType.yml

This file was deleted.

6 changes: 6 additions & 0 deletions spec/parameters/transactionTypes.yml
@@ -0,0 +1,6 @@
name: type
in: query
description: Transaction types to filter by, separated by commas.
schema:
type: string
example: 16717,16718,16973

0 comments on commit 8aaaaae

Please sign in to comment.