safety-eval-service-frontend/.api/qual-filing-expert-page-get/spec.json

58 lines
2.9 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" },
"paths": {
"/qual-filing-expert/page": {
"get": {
"summary": "分页查询审核专家",
"tags": ["审核专家管理"],
"parameters": [
{ "name": "current", "in": "query", "description": "当前页默认1", "required": false, "schema": { "type": "integer", "format": "int64", "default": 1 } },
{ "name": "size", "in": "query", "description": "每页条数默认10", "required": false, "schema": { "type": "integer", "format": "int64", "default": 10 } },
{ "name": "orders", "in": "query", "description": "排序(格式: column:asc|desc, 多个用逗号分隔)", "required": false, "schema": { "type": "string" } },
{ "name": "userName", "in": "query", "description": "用户名称/姓名", "required": false, "schema": { "type": "string" } },
{ "name": "account", "in": "query", "description": "账号", "required": false, "schema": { "type": "string" } },
{ "name": "genderCode", "in": "query", "description": "性别编码(1男2女)", "required": false, "schema": { "type": "integer" } },
{ "name": "idCardNo", "in": "query", "description": "身份证号", "required": false, "schema": { "type": "string" } }
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/PageResponseQualFilingExpertCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"QualFilingExpertCO": {
"type": "object",
"properties": {
"id": { "type": "integer", "format": "int64", "description": "主键ID(后端Long)" },
"userName": { "type": "string", "description": "用户名称/姓名" },
"account": { "type": "string", "description": "账号" },
"genderCode": { "type": "integer", "description": "性别编码(1男2女)" },
"genderName": { "type": "string", "description": "性别名称" },
"idCardNo": { "type": "string", "description": "身份证号" },
"certificate": { "type": "string", "description": "证书" },
"tenantId": { "type": "integer", "format": "int64", "description": "租户ID" }
}
},
"PageResponseQualFilingExpertCO": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"data": { "type": "array", "items": { "$ref": "#/components/schemas/QualFilingExpertCO" }, "description": "响应数据" },
"total": { "type": "integer", "format": "int64", "description": "总条数" }
}
}
}
}
}