From 5988360d8cf0fc0028c6db1c82afc1e313ba0513 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 5 Aug 2024 02:27:53 +0900 Subject: feat(backend): return `game_type` in API response --- openapi.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openapi.yaml') 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 -- cgit v1.2.3-70-g09d2