info: contact: email: develoven@163.com name: Develoven url: https://www.cnblogs.com/wormworm/ description: AI测试 title: AIT-go AI测试 version: "1.0" paths: /v1/record/:recordId/find: get: consumes: - application/json description: 记录详情查询 parameters: - description: 测试记录Id in: path name: r required: true type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 记录详情查询 tags: - 测试记录 /v1/record/create: post: consumes: - application/json description: 新增测试 parameters: - description: 文件 in: formData name: file required: true type: file - description: 用户名 in: formData name: userName required: true type: string - description: 文件类型 in: formData name: fileType required: true type: string - description: 方向 in: formData name: positiveDir type: string - description: 方向 in: formData name: negativaDir type: string - description: car_classification :车辆识别 ; car_direction:方向; class_direc =car_classification+car_direction; in: formData name: taskType required: true type: string produces: - application/json responses: "200": description: ok schema: type: string security: - ApiKeyAuth: [] summary: 新增测试 tags: - 测试记录 /v1/record/find: post: consumes: - application/json description: 记录列表查询 parameters: - description: role:角色;userName:用户名;pageNum:页数;pageSize:每页记录数 in: body name: r required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 记录列表查询 tags: - 测试记录 /v1/user/change/password: post: consumes: - application/json description: 用户修改密码 parameters: - description: userName:用户名 password:密码 newPassword:新密码 in: body name: user required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 用户修改密码 tags: - 用户管理 /v1/user/find: post: consumes: - application/json description: 用户列表查询 parameters: - description: role:角色;userName:用户名;pageNum:页数;pageSize:每页记录数 in: body name: user required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 用户列表查询 tags: - 用户管理 /v1/user/login: post: consumes: - application/json description: 用户登录 parameters: - description: username:编号;password:密码;role:角色; in: body name: user required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 用户登录 tags: - 用户管理 /v1/user/register: post: consumes: - application/json description: 用户注册 parameters: - description: userName:用户名;password:密码;role:角色 in: body name: user required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 用户注册 tags: - 用户管理 /v1/user/reset: post: consumes: - application/json description: 管理员重置普通用户密码 parameters: - description: username:管理员编号;usernameInit:被重置用户编号 in: body name: user required: true schema: type: string produces: - application/json responses: "200": description: ok schema: type: string summary: 管理员重置普通用户密码 tags: - 用户管理 swagger: "2.0"