generated from VLADIMIR/template
add catalog
This commit is contained in:
@@ -168,6 +168,29 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/catalog": {
|
||||
"get": {
|
||||
"summary": "Получить каталог сценариев",
|
||||
"operationId": "EveningDetectiveServer_GetScenariosCatalog",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverGetScenariosCatalogRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Сценарии"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/files/upload": {
|
||||
"post": {
|
||||
"summary": "Загрузить файл",
|
||||
@@ -1068,6 +1091,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverGetScenariosCatalogRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"scenarios": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/evening_detective_serverScenario"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverGetUserByIdRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user