aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi.yaml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 14:06:28 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 19:55:45 +0900
commit0b520dc2529d7df6263842480d4ba7eaf07f4dcd (patch)
tree4a015b17210ba1d61ca98d2e18e339c817016f8c /openapi.yaml
parenta8f2594e8dcb741fb942092cbc53d64cf93132ef (diff)
downloadphperkaigi-2025-albatross-0b520dc2529d7df6263842480d4ba7eaf07f4dcd.tar.gz
phperkaigi-2025-albatross-0b520dc2529d7df6263842480d4ba7eaf07f4dcd.tar.zst
phperkaigi-2025-albatross-0b520dc2529d7df6263842480d4ba7eaf07f4dcd.zip
feat(backend): include `players` in `Game` object
Diffstat (limited to 'openapi.yaml')
-rw-r--r--openapi.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/openapi.yaml b/openapi.yaml
index ebad2f0..fdd0146 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -216,12 +216,17 @@ components:
example: 946684800
problem:
$ref: '#/components/schemas/Problem'
+ players:
+ type: array
+ items:
+ $ref: '#/components/schemas/User'
required:
- game_id
- game_type
- state
- display_name
- duration_seconds
+ - players
Problem:
type: object
properties: