add delete last action

This commit is contained in:
2026-07-28 00:09:29 +07:00
parent 65763a3e10
commit 5a5b36e44d
5 changed files with 334 additions and 52 deletions
@@ -1028,6 +1028,43 @@
]
}
},
"/api/teams/{id}/last-actions": {
"delete": {
"summary": "Удалить последний ход",
"operationId": "EveningDetectiveServer_DeleteLastTeamAction",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/evening_detective_serverDeleteLastTeamActionRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"type": "string",
"format": "int64"
}
],
"tags": [
"Ходы"
],
"security": [
{
"": []
}
]
}
},
"/api/test/echo": {
"post": {
"summary": "Проверить обработку данных",
@@ -1510,6 +1547,14 @@
}
}
},
"evening_detective_serverDeleteLastTeamActionRsp": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
},
"evening_detective_serverDeleteScenarioPlaceRsp": {
"type": "object",
"properties": {