fix: 修改镜像构建和编排创建路径限制,增加 config 校验 (#342)

fix: 修改镜像构建和编排创建路径限制,增加 config 校验
This commit is contained in:
ssongliu
2023-03-21 18:42:37 +08:00
committed by GitHub
parent 68a457ae89
commit 6ee9789a2f
12 changed files with 256 additions and 55 deletions

View File

@@ -1038,6 +1038,48 @@ const docTemplate = `{
}
}
},
"/containers/compose/test": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "测试 compose 是否可用",
"consumes": [
"application/json"
],
"tags": [
"Container Compose"
],
"summary": "Test compose",
"parameters": [
{
"description": "request",
"name": "request",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.ComposeCreate"
}
}
],
"responses": {
"200": {
"description": ""
}
},
"x-panel-log": {
"BeforeFuntions": [],
"bodyKeys": [
"name"
],
"formatEN": "create compose [name]",
"formatZH": "创建 compose [name]",
"paramKeys": []
}
}
},
"/containers/compose/update": {
"post": {
"security": [