123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- 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"
|