This commit is contained in:
2026-08-04 01:36:52 +07:00
parent ff26c2e6bb
commit e424174e29
9 changed files with 478 additions and 149 deletions
@@ -489,6 +489,46 @@
]
}
},
"/api/games/{id}/play": {
"put": {
"summary": "Продолжить игру",
"operationId": "EveningDetectiveServer_PlayGame",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/evening_detective_serverPlayGameRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "integer",
"format": "int32"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/EveningDetectiveServerPlayGameBody"
}
}
],
"tags": [
"Игры"
]
}
},
"/api/games/{id}/reset": {
"put": {
"summary": "Сбросить игру",
@@ -1521,6 +1561,9 @@
"EveningDetectiveServerPauseGameBody": {
"type": "object"
},
"EveningDetectiveServerPlayGameBody": {
"type": "object"
},
"EveningDetectiveServerPublicScenarioBody": {
"type": "object"
},
@@ -2070,6 +2113,14 @@
}
}
},
"evening_detective_serverPlayGameRsp": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
},
"evening_detective_serverPublicScenarioRsp": {
"type": "object",
"properties": {