[release-12.2.2] Dashboards: Return the correct model in openapi spec (#112872)
Return the correct model (#112858)
(cherry picked from commit 0ba040e866)
Co-authored-by: Selene <selenepinillos@gmail.com>
This commit is contained in:
co-authored by
Selene
parent
a46fcfc0c6
commit
c94396d80a
@@ -1304,7 +1304,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
|
||||
|
||||
Reference in New Issue
Block a user