Add files via upload

This commit is contained in:
公明
2026-04-21 01:25:40 +08:00
committed by GitHub
parent c801a97add
commit 0d4f608c14
10 changed files with 53 additions and 237 deletions
-39
View File
@@ -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管理"},