Skip to content

Commit 2540528

Browse files
authored
fix(specs): add sourceType to listTasks [skip-bc] (#4193)
1 parent 61c62d1 commit 2540528

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

specs/ingestion/common/taskParameters.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ sourceID:
3232
items:
3333
$ref: './schemas/common.yml#/sourceID'
3434

35+
sourceType:
36+
name: sourceType
37+
in: query
38+
description: Filters the tasks with the specified source type.
39+
required: false
40+
style: form
41+
explode: false
42+
schema:
43+
type: array
44+
items:
45+
$ref: './schemas/source.yml#/SourceType'
46+
example: json,commercetools
47+
3548
destinationID:
3649
name: destinationID
3750
in: query

specs/ingestion/paths/tasks/v2/tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ get:
1414
- $ref: '../../../common/taskParameters.yml#/action'
1515
- $ref: '../../../common/taskParameters.yml#/enabled'
1616
- $ref: '../../../common/taskParameters.yml#/sourceID'
17+
- $ref: '../../../common/taskParameters.yml#/sourceType'
1718
- $ref: '../../../common/taskParameters.yml#/destinationID'
1819
- $ref: '../../../common/taskParameters.yml#/triggerType'
1920
- $ref: '../../../common/taskParameters.yml#/sort'

0 commit comments

Comments
 (0)