From d4f8c39a593b42d670179bcc5476b29d4ff4cb04 Mon Sep 17 00:00:00 2001 From: Joe Shannon Date: Thu, 25 May 2023 12:05:59 +0100 Subject: [PATCH] Update OpenAPI Schema to match current state This was missed as part of a recent PR. In the future a check will be added to ensure that the committed file matches the current generated file. --- docs/user/reference/openapi.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/user/reference/openapi.yaml b/docs/user/reference/openapi.yaml index cf2b2e6ffb..fb33642f39 100644 --- a/docs/user/reference/openapi.yaml +++ b/docs/user/reference/openapi.yaml @@ -88,12 +88,12 @@ components: additionalProperties: false description: Acknowledgement that a task has started, includes its ID properties: - taskId: + task_id: description: Unique identifier for the task - title: Taskid + title: Task Id type: string required: - - taskId + - task_id title: TaskResponse type: object TrackableTask: @@ -105,21 +105,21 @@ components: type: string title: Errors type: array - isComplete: + is_complete: default: false - title: Iscomplete + title: Is Complete type: boolean - isPending: + is_pending: default: true - title: Ispending + title: Is Pending type: boolean task: title: Task - taskId: - title: Taskid + task_id: + title: Task Id type: string required: - - taskId + - task_id title: TrackableTask type: object ValidationError: @@ -162,9 +162,9 @@ components: additionalProperties: false description: Worker's active task ID, can be None properties: - taskId: + task_id: description: The ID of the current task, None if the worker is idle - title: Taskid + title: Task Id type: string title: WorkerTask type: object