Skip to content

Commit

Permalink
fix(specs): add sourceType to listTasks [skip-bc] (#4193)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Dec 3, 2024
1 parent 61c62d1 commit 2540528
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specs/ingestion/common/taskParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ sourceID:
items:
$ref: './schemas/common.yml#/sourceID'

sourceType:
name: sourceType
in: query
description: Filters the tasks with the specified source type.
required: false
style: form
explode: false
schema:
type: array
items:
$ref: './schemas/source.yml#/SourceType'
example: json,commercetools

destinationID:
name: destinationID
in: query
Expand Down
1 change: 1 addition & 0 deletions specs/ingestion/paths/tasks/v2/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ get:
- $ref: '../../../common/taskParameters.yml#/action'
- $ref: '../../../common/taskParameters.yml#/enabled'
- $ref: '../../../common/taskParameters.yml#/sourceID'
- $ref: '../../../common/taskParameters.yml#/sourceType'
- $ref: '../../../common/taskParameters.yml#/destinationID'
- $ref: '../../../common/taskParameters.yml#/triggerType'
- $ref: '../../../common/taskParameters.yml#/sort'
Expand Down

0 comments on commit 2540528

Please sign in to comment.