K8s: Update OpenAPI post processing structures (#79553)

* add prefix

* update extra paths
This commit is contained in:
Ryan McKinley
2023-12-15 07:53:35 -08:00
committed by GitHub
parent 1324186f87
commit 139025af1e
3 changed files with 27 additions and 35 deletions
+3 -3
View File
@@ -103,7 +103,7 @@ func (b *TestingAPIBuilder) GetAPIRoutes() *grafanaapiserver.APIRoutes {
return &grafanaapiserver.APIRoutes{
Root: []grafanaapiserver.APIRouteHandler{
{
Path: "/aaa",
Path: "aaa",
Spec: &spec3.PathProps{
Summary: "an example at the root level",
Description: "longer description here?",
@@ -144,7 +144,7 @@ func (b *TestingAPIBuilder) GetAPIRoutes() *grafanaapiserver.APIRoutes {
},
},
{
Path: "/bbb",
Path: "bbb",
Spec: &spec3.PathProps{
Summary: "an example at the root level",
Description: "longer description here?",
@@ -165,7 +165,7 @@ func (b *TestingAPIBuilder) GetAPIRoutes() *grafanaapiserver.APIRoutes {
},
Namespace: []grafanaapiserver.APIRouteHandler{
{
Path: "/ccc",
Path: "ccc",
Spec: &spec3.PathProps{
Summary: "an example at the root level",
Description: "longer description here?",