safety-eval-service-frontend/.api/safetyEval-question-del-que.../spec.json

50 lines
1.4 KiB
JSON
Raw Normal View History

2026-08-24 18:31:16 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "删除习题",
"description": "同步自 Apifox试题管理int64 主键按前端精度规范落为 string",
"version": "1.0.0"
},
"paths": {
"/safetyEval/question/del/{questionId}": {
"post": {
"summary": "删除习题",
"tags": ["试题管理"],
"parameters": [
{
"name": "questionId",
"in": "path",
"description": "试题id后端 Long / Apifox 显示 int64前端按字符串保证精度",
"required": true,
"schema": { "type": "string" }
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseVoid" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"SingleResponseVoid": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "description": "响应数据", "type": "null" }
}
}
}
}
}