test_data/docs/swagger.yaml
2024-07-17 15:13:00 +08:00

1022 lines
22 KiB
YAML

definitions:
request.ABList:
properties:
factory:
description: 封装厂
type: string
fail_quantity:
description: 封装不良品
type: string
is_finish:
description: 是否已完成
type: string
lot:
description: 批号
type: string
online_quantity:
description: 在线数量
type: string
order_date:
description: 下单日期
type: string
package:
description: 封装
type: string
pass_probability:
description: 良率
type: string
pbi:
description: 订单号
type: string
product:
description: 成品型号
type: string
quantity:
description: 订单数量
type: string
seal:
description: 丝印
type: string
stock_in_quantity:
description: 入库数
type: string
stock_out_quantity:
description: 出库数
type: string
wafer_id:
description: 片号
type: string
wafer_product:
description: 晶圆型号
type: string
type: object
request.CPList:
properties:
factory:
description: CP厂
type: string
lot:
description: 晶圆批号
type: string
order_date:
description: 下单日期
type: string
page:
type: integer
page_size:
type: integer
pbi:
type: string
query_type:
description: 查询类型
type: string
test_machine:
description: 测试机台
type: string
wafer_product:
description: 晶圆型号
type: string
type: object
request.CPMap:
properties:
hbin:
items:
type: string
type: array
hbin_color:
items:
$ref: '#/definitions/request.CPMapColor'
type: array
lot:
description: 批号
type: string
pbi:
type: string
product:
description: 产品型号
type: string
sbin:
items:
type: string
type: array
sbin_color:
items:
$ref: '#/definitions/request.CPMapColor'
type: array
selection:
description: 参数
items:
type: string
type: array
selection_color:
items:
$ref: '#/definitions/request.SelectionColor'
type: array
site:
items:
type: string
type: array
step:
description: 工序
type: string
sub_batch:
description: 子批号
type: string
wafer_id:
description: 片号
type: string
type: object
request.CPMapColor:
properties:
color:
description: Bin颜色
type: string
name:
description: Bin名称
type: string
type: object
request.FTList:
properties:
factory:
description: SubBatch string `json:"sub_batch"` // 子批次
type: string
lot:
description: 晶圆批号
type: string
order_date:
description: 下单日期
type: string
page:
type: integer
page_size:
type: integer
pbi:
type: string
product:
description: 成品型号
type: string
query_type:
description: 查询类型
type: string
seal:
description: 丝印
type: string
test_program:
description: 测试程序
type: string
type: object
request.Histogram:
properties:
average:
type: number
bin:
items:
type: string
type: array
lot:
description: 批号
type: string
offset:
description: 偏移量
type: number
only_pass:
type: boolean
pbi:
description: PBI
type: string
product:
description: 产品型号
type: string
selections:
description: 参数
items:
type: string
type: array
site:
items:
type: string
type: array
splite_site:
type: boolean
splite_sub_batch:
type: boolean
standard_deviation:
type: number
step:
description: 工序
type: string
sub_batch:
description: 子批号
items:
type: string
type: array
wafer_id:
description: 片号
items:
type: string
type: array
x_max:
type: string
x_min:
type: string
type: object
request.Line:
properties:
bin:
items:
type: string
type: array
lot:
description: 批号
type: string
offset:
description: 偏移量
type: string
pbi:
description: PBI
type: string
product:
description: 产品型号
type: string
selection:
description: 参数
type: string
site:
items:
type: string
type: array
step:
description: 工序
type: string
sub_batch:
description: 子批号
type: string
type: object
request.LogSiteChart:
properties:
bin:
items:
type: string
type: array
content_type:
description: 内容类型
type: string
lot:
type: string
pbi:
type: string
product:
type: string
selection:
type: string
site:
items:
type: string
type: array
step:
description: 工序
type: string
sub_batch:
description: 子批
type: string
type: object
request.PackagePassProbabilityLine:
properties:
date_size:
description: 时间大小
type: string
factory:
description: 封装厂
items:
type: string
type: array
lot:
description: 晶圆批次
items:
type: string
type: array
order_date_end:
description: 下单日期结束时间
type: string
order_date_start:
description: 下单日期开始时间
type: string
package:
description: 封装形式
items:
type: string
type: array
product:
description: 成品型号
items:
type: string
type: array
type: object
request.PassProbabilityByFactory:
properties:
factory:
description: 封装厂
type: string
type:
type: string
required:
- type
type: object
request.PassProbabilityByProduct:
properties:
factory:
description: 封装厂
type: string
product:
description: 成品型号
type: string
type:
type: string
required:
- product
- type
type: object
request.Pie:
properties:
bin:
items:
type: string
type: array
lot:
description: 批号
type: string
max:
description: 最大值
type: string
min:
description: 最小值
type: string
pbi:
description: PBI
type: string
pie_interval:
description: 分区间
items:
$ref: '#/definitions/request.PieInterval'
type: array
product:
description: 产品型号
type: string
selection:
description: 参数
type: string
site:
items:
type: string
type: array
step:
description: 工序
type: string
sub_batch:
description: 子批号
type: string
type: object
request.PieInterval:
properties:
max:
description: 最大值
type: string
min:
description: 最小值
type: string
name:
description: 区间名称
type: string
type: object
request.QuerySelection:
properties:
lot:
description: 批号
type: string
pbi:
description: PBI
type: string
product:
description: 产品型号
type: string
step:
description: 工序
type: string
sub_batch:
description: 子批号
type: string
wafer_id:
description: 片号
type: string
type: object
request.Scatter:
properties:
bin:
items:
type: string
type: array
lot:
description: 批号
type: string
only_pass:
type: boolean
pbi:
description: PBI
type: string
product:
description: 产品型号
type: string
site:
items:
type: string
type: array
splite_site:
type: boolean
splite_sub_batch:
type: boolean
step:
description: 工序
type: string
sub_batch:
description: 子批号
items:
type: string
type: array
wafer_id:
items:
type: string
type: array
xy_selection:
description: |-
X string `json:"x"`
Y string `json:"y"`
Selections []string `json:"selections"` // 参数
items:
$ref: '#/definitions/request.XYSelection'
type: array
type: object
request.SelectionColor:
properties:
color:
description: 参数颜色
type: string
max:
description: 参数范围最大值
type: string
min:
description: 参数范围最小值
type: string
name:
description: 参数名称
type: string
type: object
request.SelectionLimit:
properties:
hbin:
items:
type: string
type: array
lot:
type: string
pbi:
type: string
product:
type: string
sbin:
items:
type: string
type: array
selection:
type: string
site:
items:
type: string
type: array
step:
description: 工序
type: string
sub_batch:
description: 子批
type: string
wafer_id:
type: string
type: object
request.WaferList:
properties:
factory:
description: 晶圆厂
type: string
lot:
description: 批号
type: string
online_quantity:
description: 在线数量
type: string
order_date:
description: 下单日期
type: string
pbi:
description: 订单号
type: string
product:
description: 晶圆型号
type: string
quantity:
description: 投片数量
type: string
return_date:
description: 回货日期
type: string
return_quantity:
description: 回货数量
type: string
wafer_size:
description: 晶圆尺寸
type: string
type: object
request.XYSelection:
properties:
x:
type: string
"y":
type: string
type: object
info:
contact: {}
paths:
/testData/cpMap:
post:
consumes:
- application/json
parameters:
- description: CP Map图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.CPMap'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: CP Map图
tags:
- 数据分析平台
/testData/cpMap/export:
post:
consumes:
- application/json
parameters:
- description: CP Map图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.CPMap'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 导出CP Map图
tags:
- 数据分析平台
/testData/ftHistogram/export:
post:
consumes:
- application/json
parameters:
- description: CP Map图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Histogram'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 导出直方图
tags:
- 数据分析平台
/testData/histogram:
post:
consumes:
- application/json
parameters:
- description: 直方图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Histogram'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 直方图
tags:
- 数据分析平台
/testData/line:
post:
consumes:
- application/json
parameters:
- description: 折线图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Line'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 折线图
tags:
- 数据分析平台
/testData/logSite:
post:
consumes:
- application/json
parameters:
- description: Log各Site差异图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.LogSiteChart'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: Log各Site差异图
tags:
- 数据分析平台
/testData/pie:
post:
consumes:
- application/json
parameters:
- description: 饼状图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Pie'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 饼状图
tags:
- 数据分析平台
/testData/report/ab:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.ABList'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 封装记录
tags:
- 数据分析平台-生产
/testData/report/cp:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.CPList'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: CP记录
tags:
- 数据分析平台-生产
/testData/report/fTPassProbabilityByFactory:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.PassProbabilityByFactory'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 测试良率-按供应商
tags:
- 数据分析平台-生产
/testData/report/fTPassProbabilityByProduct:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.PassProbabilityByProduct'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 测试良率-按产品型号
tags:
- 数据分析平台-生产
/testData/report/ft:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.FTList'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: FT记录
tags:
- 数据分析平台-生产
/testData/report/packageOrderNumberBar:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.PackagePassProbabilityLine'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 封装良率折线图
tags:
- 数据分析平台-生产
/testData/report/packagePassProbabilityLine:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.PackagePassProbabilityLine'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 封装良率折线图
tags:
- 数据分析平台-生产
/testData/report/wafer:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.WaferList'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 晶圆记录
tags:
- 数据分析平台-生产
/testData/scatter:
post:
consumes:
- application/json
parameters:
- description: 散点图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Scatter'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 散点图
tags:
- 数据分析平台
/testData/scatter/export:
post:
consumes:
- application/json
parameters:
- description: CP Map图
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.Scatter'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 导出散点图
tags:
- 数据分析平台
/testData/selection:
post:
consumes:
- application/json
parameters:
- description: 查询参数
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.QuerySelection'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 查询参数
tags:
- 数据分析平台
/testData/selection/limit:
post:
consumes:
- application/json
parameters:
- description: 参数极限
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.SelectionLimit'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 参数极限
tags:
- 数据分析平台
/testData/upload:
post:
consumes:
- multipart/form-data
parameters:
- description: file
in: formData
name: file
required: true
type: file
- description: product_name
in: formData
name: value
required: true
type: file
- description: lot
in: formData
name: value
required: true
type: file
- description: sub_batch
in: formData
name: value
required: true
type: file
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"操作成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 上传没录入文件
tags:
- 数据分析平台
swagger: "2.0"