mirror of
https://github.com/chemistry-software/biljart-api.git
synced 2026-11-07 09:07:34 +00:00
Add ongoing to game status enum
This commit is contained in:
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.
Reference in new issue
Block a user