[release-12.0.7] Dashboards: Return the correct model in openapi spec (#112869)

Return the correct model (#112858)

(cherry picked from commit 0ba040e866)

Co-authored-by: Selene <selenepinillos@gmail.com>
This commit is contained in:
grafana-delivery-bot[bot]
2025-10-23 17:58:24 +02:00
committed by GitHub
co-authored by Selene
parent 2983dc4819
commit fd4e08b511
3 changed files with 31 additions and 9 deletions
+1 -1
View File
@@ -1305,7 +1305,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