swag generation fix
This commit is contained in:
@@ -665,7 +665,156 @@ const docTemplate = `{
|
||||
},
|
||||
"definitions": {
|
||||
"models.CloudEventReceived": {
|
||||
"type": "object"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cloudEvent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ChainId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ChangeTag": {
|
||||
"type": "string"
|
||||
},
|
||||
"ComputeResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ComputeResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"type": "string"
|
||||
},
|
||||
"Value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreatedTime": {
|
||||
"description": "Modified from time.Time",
|
||||
"type": "string"
|
||||
},
|
||||
"Datacenter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Datacenter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"type": "string"
|
||||
},
|
||||
"Value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ds": {},
|
||||
"Dvs": {},
|
||||
"FullFormattedMessage": {
|
||||
"type": "string"
|
||||
},
|
||||
"Host": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Host": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"type": "string"
|
||||
},
|
||||
"Value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Key": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Net": {},
|
||||
"NewParent": {
|
||||
"$ref": "#/definitions/models.CloudEventResourcePool"
|
||||
},
|
||||
"OldParent": {
|
||||
"$ref": "#/definitions/models.CloudEventResourcePool"
|
||||
},
|
||||
"SrcTemplate": {
|
||||
"$ref": "#/definitions/models.CloudEventVm"
|
||||
},
|
||||
"Template": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"UserName": {
|
||||
"type": "string"
|
||||
},
|
||||
"Vm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Name": {
|
||||
"type": "string"
|
||||
},
|
||||
"Vm": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"type": "string"
|
||||
},
|
||||
"Value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"configChanges": {
|
||||
"description": "Modified to separate struct",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.ConfigChangesReceived"
|
||||
}
|
||||
]
|
||||
},
|
||||
"configSpec": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"type": "string"
|
||||
},
|
||||
"specversion": {
|
||||
"type": "string"
|
||||
},
|
||||
"time": {
|
||||
"description": "Modified from time.Time",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.CloudEventResourcePool": {
|
||||
"type": "object",
|
||||
@@ -705,6 +854,14 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.ConfigChangesReceived": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"modified": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.ImportReceived": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user