OAPI: include task failure list in Task schema
Include the list of workers who failed this task in the `Task` schema.
This commit is contained in:
parent
0b5140fc5f
commit
aaed1e0589
@ -1111,6 +1111,9 @@ components:
|
||||
type: string
|
||||
format: date-time
|
||||
description: Timestamp of when any worker worked on this task.
|
||||
"failed_by_workers":
|
||||
type: array
|
||||
items: { $ref: "#/components/schemas/TaskWorker" }
|
||||
required:
|
||||
- id
|
||||
- created
|
||||
@ -1125,6 +1128,7 @@ components:
|
||||
|
||||
TaskWorker:
|
||||
type: object
|
||||
description: Worker reference, as used in Task objects.
|
||||
properties:
|
||||
"id": { type: string, format: uuid }
|
||||
"name": { type: string }
|
||||
|
Loading…
x
Reference in New Issue
Block a user