aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi.yaml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 19:55:28 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 19:55:50 +0900
commit47f95342097e8828059053c168e06cd44e0ab43b (patch)
tree843d09397ccc1e5ec36c926e3eb555e1d6e5ed52 /openapi.yaml
parent0b520dc2529d7df6263842480d4ba7eaf07f4dcd (diff)
downloadphperkaigi-2025-albatross-47f95342097e8828059053c168e06cd44e0ab43b.tar.gz
phperkaigi-2025-albatross-47f95342097e8828059053c168e06cd44e0ab43b.tar.zst
phperkaigi-2025-albatross-47f95342097e8828059053c168e06cd44e0ab43b.zip
feat(backend): include `verification_steps` in `Game` object
Diffstat (limited to 'openapi.yaml')
-rw-r--r--openapi.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/openapi.yaml b/openapi.yaml
index fdd0146..6d9dea3 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -220,6 +220,10 @@ components:
type: array
items:
$ref: '#/components/schemas/User'
+ verification_steps:
+ type: array
+ items:
+ $ref: '#/components/schemas/VerificationStep'
required:
- game_id
- game_type
@@ -227,6 +231,20 @@ components:
- display_name
- duration_seconds
- players
+ - verification_steps
+ VerificationStep:
+ type: object
+ properties:
+ testcase_id:
+ type: integer
+ nullable: true
+ example: 1
+ label:
+ type: string
+ example: "Test case 1"
+ required:
+ - testcase_id
+ - label
Problem:
type: object
properties: