Skip to content

Commit

Permalink
Merge pull request #490 from whole-tale/add-tale-status-to-schema
Browse files Browse the repository at this point in the history
Add Tale status to swagger spec/schema
  • Loading branch information
Xarthisius authored May 26, 2021
2 parents ed542ec + c40e0d9 commit ecc8ac0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/schema/tale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ecc8ac0

Please sign in to comment.