Skip to content

Commit

Permalink
Restores openapi-gen tag for APIResourceReference (#283)
Browse files Browse the repository at this point in the history
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Apr 25, 2023
1 parent de0138f commit 047ab0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/operators/v1alpha1/clusterserviceversion_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ type APIServiceDescription struct {
}

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

0 comments on commit 047ab0b

Please sign in to comment.