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

58 lines
1.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"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": "响应数据" }
}
}
}
}
}