修复bug
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
definitions:
|
||||
controller.Properties:
|
||||
type: object
|
||||
controller.Response:
|
||||
properties:
|
||||
code:
|
||||
@@ -21,7 +19,8 @@ definitions:
|
||||
parent_id:
|
||||
type: integer
|
||||
properties:
|
||||
$ref: '#/definitions/controller.Properties'
|
||||
additionalProperties: true
|
||||
type: object
|
||||
sub_type:
|
||||
$ref: '#/definitions/models.DeviceSubType'
|
||||
type:
|
||||
@@ -39,7 +38,8 @@ definitions:
|
||||
parent_id:
|
||||
type: integer
|
||||
properties:
|
||||
$ref: '#/definitions/controller.Properties'
|
||||
additionalProperties: true
|
||||
type: object
|
||||
sub_type:
|
||||
$ref: '#/definitions/models.DeviceSubType'
|
||||
type:
|
||||
@@ -61,7 +61,8 @@ definitions:
|
||||
parent_id:
|
||||
type: integer
|
||||
properties:
|
||||
$ref: '#/definitions/controller.Properties'
|
||||
additionalProperties: true
|
||||
type: object
|
||||
sub_type:
|
||||
$ref: '#/definitions/models.DeviceSubType'
|
||||
type:
|
||||
@@ -271,7 +272,8 @@ definitions:
|
||||
example: 打开风扇
|
||||
type: string
|
||||
parameters:
|
||||
$ref: '#/definitions/controller.Properties'
|
||||
additionalProperties: true
|
||||
type: object
|
||||
type:
|
||||
allOf:
|
||||
- $ref: '#/definitions/models.TaskType'
|
||||
@@ -292,7 +294,8 @@ definitions:
|
||||
example: 打开风扇
|
||||
type: string
|
||||
parameters:
|
||||
$ref: '#/definitions/controller.Properties'
|
||||
additionalProperties: true
|
||||
type: object
|
||||
plan_id:
|
||||
example: 1
|
||||
type: integer
|
||||
|
||||
Reference in New Issue
Block a user