safety-eval-service-frontend/.api/safetyEval-classCourse-dele.../spec.json

58 lines
1.6 KiB
JSON
Raw Normal View History

2026-08-21 18:18:30 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "删除班级课程",
"version": "1.0.0",
"description": "同步自 Apifox 项目api-503642492班级课程"
},
"paths": {
"/safetyEval/classCourse/delete": {
"post": {
"summary": "删除班级课程",
"tags": ["班级课程"],
"requestBody": {
"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前端按字符串保证精度"
}
},
"required": ["data"]
},
"SingleResponseVoid": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "type": "null", "description": "响应数据" }
}
}
}
}
}