OpenAPI: include last_touched in Task schema

Include the timestamp of when a Worker last touched the task in the OpenAPI
`Task` schema.
This commit is contained in:
Sybren A. Stüvel 2022-06-09 11:59:01 +02:00
parent 354fd29f9e
commit f020582bf7

View File

@ -1107,6 +1107,10 @@ components:
type: array type: array
items: { $ref: "#/components/schemas/Command" } items: { $ref: "#/components/schemas/Command" }
"worker": { $ref: "#/components/schemas/TaskWorker" } "worker": { $ref: "#/components/schemas/TaskWorker" }
"last_touched":
type: string
format: date-time
description: Timestamp of when any worker worked on this task.
required: required:
- id - id
- created - created