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:
Sybren A. Stüvel 2022-06-17 11:33:00 +02:00
parent 0b5140fc5f
commit aaed1e0589

View File

@ -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 }