Skip to content

Commit 047ab0b

Browse files
authored
Restores openapi-gen tag for APIResourceReference (#283)
Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent de0138f commit 047ab0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pkg/operators/v1alpha1/clusterserviceversion_types.go

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ type APIServiceDescription struct {
146146
}
147147

148148
// APIResourceReference is a reference to a Kubernetes resource type that the referrer utilizes.
149+
// +k8s:openapi-gen=true
149150
type APIResourceReference struct {
150151
// Plural name of the referenced resource type (CustomResourceDefinition.Spec.Names[].Plural). Empty string if the referenced resource type is not a custom resource.
151152
Name string `json:"name"`

0 commit comments

Comments
 (0)