Added doc to APIResourcesList type
@@ -56,7 +56,7 @@ func GroupVersionProxyBase(ctx context.Context, gv schema.GroupVersion) (*restfu
return nil, err
}
autodiscover := endpoints.NewHandlerBuilder().Get().Decoder(endpoints.NoopDecoder).Endpoint(NewAutodiscoveryEndpoint(virtClient.RestClient())).Build(ctx)
- ws.Route(ws.GET("/").Produces(mime.MIME_JSON).Writes(metav1.APIResourceList{}).To(endpoints.MakeGoRestfulWrapper(autodiscover)))
+ ws.Route(ws.GET("/").Produces(mime.MIME_JSON).Writes(metav1.APIResourceList{}).To(endpoints.MakeGoRestfulWrapper(autodiscover)).Doc("Get KubeVirt API Resources"))
return ws, nil
}
