aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 01:23:54 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 01:23:54 +0900
commit5964fa404909550a2dd42a75633fef223fdb05fb (patch)
treed282d098690d0a85930d89ff68f47507c0eb5d7c /openapi
parent8c7d882dfa67bcef37a4f39be6f1ca57f160b816 (diff)
downloadphperkaigi-2025-albatross-5964fa404909550a2dd42a75633fef223fdb05fb.tar.gz
phperkaigi-2025-albatross-5964fa404909550a2dd42a75633fef223fdb05fb.tar.zst
phperkaigi-2025-albatross-5964fa404909550a2dd42a75633fef223fdb05fb.zip
feat: do not show preliminary score
Diffstat (limited to 'openapi')
-rw-r--r--openapi/api-server.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/openapi/api-server.yaml b/openapi/api-server.yaml
index 826c4ba..38e07d7 100644
--- a/openapi/api-server.yaml
+++ b/openapi/api-server.yaml
@@ -430,12 +430,8 @@ components:
player_id:
type: integer
example: 1
- preliminary_score:
- type: integer
- example: 100
required:
- player_id
- - preliminary_score
GameWatcherMessageS2CExecResult:
type: object
properties:
@@ -506,8 +502,13 @@ components:
- runtime_error
- internal_error
- compile_error
+ score:
+ type: integer
+ nullable: true
+ example: 100
required:
- player_id
- status
+ - score
# GameWatcherMessageC2S:
# oneOf: