From c40e0d968a7ed37845989dc50a473d8828064539 Mon Sep 17 00:00:00 2001 From: Mike Lambert Date: Wed, 26 May 2021 16:28:56 +0000 Subject: [PATCH] fix: add Tale status to swagger spec/schema --- server/schema/tale.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/schema/tale.py b/server/schema/tale.py index 0104316f..5ba7c33c 100644 --- a/server/schema/tale.py +++ b/server/schema/tale.py @@ -31,6 +31,11 @@ "type": ["string", "null"], "description": "The description of the Tale (Markdown)" }, + "status": { + "type": "integer", + "enum": [0, 1, 2], + "description": "Status of the tale import (Preparing, Ready, Error)" + }, "imageId": { "type": "string", "description": "ID of a WT Image used by the Tale"