58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
|
|
{
|
|||
|
|
"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": "响应数据" }
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|