aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi.yaml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 03:07:30 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 03:07:30 +0900
commit9ff9c151e5defd9eed5cba3c88bc341b4360d09c (patch)
treebf5b9e721274ffa58df66823d39f9ceadebc9f98 /openapi.yaml
parentff959dadb1f990173b9df3105ccfc96b1c6c092e (diff)
parent498ad23eaaae1e856c71f44ad0bf3912a6d7e5b7 (diff)
downloadphperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.gz
phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.tar.zst
phperkaigi-2025-albatross-9ff9c151e5defd9eed5cba3c88bc341b4360d09c.zip
Merge branch 'feat/multiplayer-mode'
Diffstat (limited to 'openapi.yaml')
-rw-r--r--openapi.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/openapi.yaml b/openapi.yaml
index 2c91ad1..2e18728 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -185,6 +185,12 @@ components:
game_id:
type: integer
example: 1
+ game_type:
+ type: string
+ example: "1v1"
+ enum:
+ - 1v1
+ - multiplayer
state:
type: string
example: "closed"
@@ -209,6 +215,7 @@ components:
$ref: '#/components/schemas/Problem'
required:
- game_id
+ - game_type
- state
- display_name
- duration_seconds