Dashboards: Only expose LibraryPanels and search on v0 (not v1+v2) (#103335)

This commit is contained in:
Ryan McKinley
2025-04-03 20:24:12 +03:00
committed by GitHub
parent 224139e9d0
commit 04fb9f534e
15 changed files with 6323 additions and 63 deletions
-3
View File
@@ -260,9 +260,6 @@ func (b *DataSourceAPIBuilder) PostProcessOpenAPI(oas *spec3.OpenAPI) (*spec3.Op
// The root api URL
root := "/apis/" + b.connectionResourceInfo.GroupVersion().String() + "/"
// Hide the ability to list all connections across tenants
delete(oas.Paths.Paths, root+b.connectionResourceInfo.GroupResource().Resource)
// Add queries to the request properties
// Add queries to the request properties
err := queryschema.AddQueriesToOpenAPI(queryschema.OASQueryOptions{