修复bug
This commit is contained in:
@@ -549,9 +549,6 @@
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"controller.Properties": {
|
||||
"type": "object"
|
||||
},
|
||||
"controller.Response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -585,7 +582,8 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"properties": {
|
||||
"$ref": "#/definitions/controller.Properties"
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"sub_type": {
|
||||
"$ref": "#/definitions/models.DeviceSubType"
|
||||
@@ -612,7 +610,8 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"properties": {
|
||||
"$ref": "#/definitions/controller.Properties"
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"sub_type": {
|
||||
"$ref": "#/definitions/models.DeviceSubType"
|
||||
@@ -641,7 +640,8 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"properties": {
|
||||
"$ref": "#/definitions/controller.Properties"
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"sub_type": {
|
||||
"$ref": "#/definitions/models.DeviceSubType"
|
||||
@@ -941,7 +941,8 @@
|
||||
"example": "打开风扇"
|
||||
},
|
||||
"parameters": {
|
||||
"$ref": "#/definitions/controller.Properties"
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"type": {
|
||||
"allOf": [
|
||||
@@ -973,7 +974,8 @@
|
||||
"example": "打开风扇"
|
||||
},
|
||||
"parameters": {
|
||||
"$ref": "#/definitions/controller.Properties"
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"plan_id": {
|
||||
"type": "integer",
|
||||
|
||||
Reference in New Issue
Block a user