Add ongoing to game status enum

This commit is contained in:
bdnugget committed 2024-02-09 14:53:08 +01:00
1 parent a61d2e9a46
commit 8c531f7d57
5 files changed
+5 -3

No files matched your search

@@ -413,7 +413,8 @@
"win",
"lose",
"draw",
"maximum_turns"
"maximum_turns",
"ongoing"
]
},
"points_player1": {
@@ -278,6 +278,7 @@ components:
- lose
- draw
- maximum_turns
- ongoing
points_player1:
type: integer
description: Points scored by player 1 in the game
@@ -366,7 +366,7 @@
},
"outcome" : {
"type" : "string",
"enum" : [ "win", "lose", "draw", "maximum_turns" ],
"enum" : [ "win", "lose", "draw", "maximum_turns", "ongoing" ],
"description" : "The outcome of the game"
},
"points_player1" : {
@@ -269,7 +269,7 @@ components:
description: Indicates if the game is currently ongoing
outcome:
type: string
enum: [win, lose, draw, maximum_turns]
enum: [win, lose, draw, maximum_turns, ongoing]
description: The outcome of the game
points_player1:
type: integer
Binary file not shown.