80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
|
|
{
|
|||
|
|
"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": "是否本次新建"
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|