拓展接口响应
This commit is contained in:
@@ -884,6 +884,18 @@ definitions:
|
||||
user_id:
|
||||
type: integer
|
||||
type: object
|
||||
dto.NutrientRawMaterialDTO:
|
||||
properties:
|
||||
id:
|
||||
description: 原料ID
|
||||
type: integer
|
||||
name:
|
||||
description: 原料名称
|
||||
type: string
|
||||
value:
|
||||
description: 该原料中此营养素的含量
|
||||
type: number
|
||||
type: object
|
||||
dto.NutrientResponse:
|
||||
properties:
|
||||
created_at:
|
||||
@@ -894,6 +906,11 @@ definitions:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
raw_materials:
|
||||
description: 包含此营养的原料列表
|
||||
items:
|
||||
$ref: '#/definitions/dto.NutrientRawMaterialDTO'
|
||||
type: array
|
||||
updated_at:
|
||||
type: string
|
||||
type: object
|
||||
@@ -2500,6 +2517,7 @@ definitions:
|
||||
- PlanTypeFilterSystem
|
||||
zapcore.Level:
|
||||
enum:
|
||||
- 7
|
||||
- -1
|
||||
- 0
|
||||
- 1
|
||||
@@ -2510,10 +2528,10 @@ definitions:
|
||||
- -1
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
format: int32
|
||||
type: integer
|
||||
x-enum-varnames:
|
||||
- _numLevels
|
||||
- DebugLevel
|
||||
- InfoLevel
|
||||
- WarnLevel
|
||||
@@ -2524,7 +2542,6 @@ definitions:
|
||||
- _minLevel
|
||||
- _maxLevel
|
||||
- InvalidLevel
|
||||
- _numLevels
|
||||
info:
|
||||
contact:
|
||||
email: divano@example.com
|
||||
@@ -4373,6 +4390,7 @@ paths:
|
||||
name: end_time
|
||||
type: string
|
||||
- enum:
|
||||
- 7
|
||||
- -1
|
||||
- 0
|
||||
- 1
|
||||
@@ -4383,12 +4401,12 @@ paths:
|
||||
- -1
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
format: int32
|
||||
in: query
|
||||
name: level
|
||||
type: integer
|
||||
x-enum-varnames:
|
||||
- _numLevels
|
||||
- DebugLevel
|
||||
- InfoLevel
|
||||
- WarnLevel
|
||||
@@ -4399,7 +4417,6 @@ paths:
|
||||
- _minLevel
|
||||
- _maxLevel
|
||||
- InvalidLevel
|
||||
- _numLevels
|
||||
- enum:
|
||||
- 邮件
|
||||
- 企业微信
|
||||
|
||||
Reference in New Issue
Block a user