safety-eval-service-frontend/.api/safetyEval-h5-wsp-doc-getDo.../spec.json

80 lines
1.8 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": "查询项目文档",
"description": "GET /safetyEval-h5/wsp/doc/getDocByProjectId",
"version": "1.0.0"
},
"paths": {
"/safetyEval-h5/wsp/doc/getDocByProjectId": {
"get": {
"summary": "查询项目文档",
"tags": ["WPS回调接口"],
"parameters": [
{
"name": "projectId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "成功",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SingleResponseWpsDocOpenCO"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"SingleResponseWpsDocOpenCO": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"errCode": {
"type": "string"
},
"errMessage": {
"type": "string"
},
"traceId": {
"type": "string"
},
"data": {
"$ref": "#/components/schemas/WpsDocOpenCO"
}
}
},
"WpsDocOpenCO": {
"type": "object",
"properties": {
"fileId": {
"type": "string",
"description": "WPS file_id唯一"
},
"name": {
"type": "string",
"description": "文档名称"
},
"created": {
"type": "boolean",
"description": "是否本次新建"
}
}
}
}
}
}