Return the correct model (#112858)
This commit is contained in:
@@ -1262,7 +1262,7 @@ type GetHomeDashboardResponseBody struct {
|
||||
// swagger:response dashboardVersionsResponse
|
||||
type DashboardVersionsResponse struct {
|
||||
// in: body
|
||||
Body []dashver.DashboardVersionMeta `json:"body"`
|
||||
Body *dashver.DashboardVersionResponseMeta `json:"body"`
|
||||
}
|
||||
|
||||
// swagger:response dashboardVersionResponse
|
||||
|
||||
+15
-4
@@ -15296,6 +15296,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"DashboardVersionResponseMeta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"continueToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"versions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/DashboardVersionMeta"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"DataLink": {
|
||||
"description": "DataLink define what",
|
||||
"type": "object",
|
||||
@@ -24520,10 +24534,7 @@
|
||||
"dashboardVersionsResponse": {
|
||||
"description": "(empty)",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/DashboardVersionMeta"
|
||||
}
|
||||
"$ref": "#/definitions/DashboardVersionResponseMeta"
|
||||
}
|
||||
},
|
||||
"deleteCorrelationResponse": {
|
||||
|
||||
+15
-4
@@ -454,10 +454,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/DashboardVersionMeta"
|
||||
},
|
||||
"type": "array"
|
||||
"$ref": "#/components/schemas/DashboardVersionResponseMeta"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4806,6 +4803,20 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DashboardVersionResponseMeta": {
|
||||
"properties": {
|
||||
"continueToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"versions": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/DashboardVersionMeta"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"DataLink": {
|
||||
"description": "DataLink define what",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user