mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-06-06 14:23:57 +02:00
Add files via upload
This commit is contained in:
@@ -648,13 +648,6 @@ func (h *OpenAPIHandler) GetOpenAPISpec(c *gin.Context) {
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
"skills": map[string]interface{}{
|
||||
"type": "array",
|
||||
"description": "Skills列表",
|
||||
"items": map[string]interface{}{
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"Skill": map[string]interface{}{
|
||||
@@ -2879,38 +2872,6 @@ func (h *OpenAPIHandler) GetOpenAPISpec(c *gin.Context) {
|
||||
},
|
||||
},
|
||||
},
|
||||
"/api/roles/skills/list": map[string]interface{}{
|
||||
"get": map[string]interface{}{
|
||||
"tags": []string{"角色管理"},
|
||||
"summary": "获取可用Skills列表",
|
||||
"description": "获取所有可用的Skills列表,用于角色配置",
|
||||
"operationId": "getSkills",
|
||||
"responses": map[string]interface{}{
|
||||
"200": map[string]interface{}{
|
||||
"description": "获取成功",
|
||||
"content": map[string]interface{}{
|
||||
"application/json": map[string]interface{}{
|
||||
"schema": map[string]interface{}{
|
||||
"type": "object",
|
||||
"properties": map[string]interface{}{
|
||||
"skills": map[string]interface{}{
|
||||
"type": "array",
|
||||
"description": "Skills列表",
|
||||
"items": map[string]interface{}{
|
||||
"type": "string",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"401": map[string]interface{}{
|
||||
"description": "未授权",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"/api/skills": map[string]interface{}{
|
||||
"get": map[string]interface{}{
|
||||
"tags": []string{"Skills管理"},
|
||||
|
||||
Reference in New Issue
Block a user