safety-eval-service-frontend/.api/safetyEval-classManagement-.../spec.json

55 lines
1.5 KiB
JSON
Raw Normal View History

2026-08-21 17:43:57 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "删除班级",
"version": "1.0.0",
"description": "同步自 Apifox 项目api-503642497班级管理"
},
"paths": {
"/safetyEval/classManagement/delete": {
"post": {
"summary": "删除班级",
"tags": ["班级管理"],
"requestBody": {
"description": "主键ID",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/ReqLong" }
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseVoid" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"ReqLong": {
"type": "object",
"properties": {
"data": { "type": "string", "description": "主键ID后端 Long / Apifox int64前端按字符串保证精度" }
}
},
"SingleResponseVoid": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "type": "null", "description": "响应数据" }
}
}
}
}
}