Add +k8s:openapi-gen tag to API types

This commit is contained in:
mbohlool
2016-08-25 14:58:23 -07:00
parent 6ba271b9ae
commit 702f55e61d
38 changed files with 62 additions and 3 deletions

View File

@@ -15,5 +15,6 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package,register
// +k8s:openapi-gen=true
package policy // import "k8s.io/kubernetes/pkg/apis/policy"

View File

@@ -20,4 +20,5 @@ limitations under the License.
// Package policy is for any kind of policy object. Suitable examples, even if
// they aren't all here, are PodDisruptionBudget, PodSecurityPolicy,
// NetworkPolicy, etc.
// +k8s:openapi-gen=true
package v1alpha1 // import "k8s.io/kubernetes/pkg/apis/policy/v1alpha1"