File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ type JSON struct {
68
68
// See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
69
69
func (_ JSON ) OpenAPISchemaType () []string {
70
70
// TODO: return actual types when anyOf is supported
71
- return [] string {}
71
+ return nil
72
72
}
73
73
74
74
// OpenAPISchemaFormat is used by the kube-openapi generator when constructing
@@ -91,7 +91,7 @@ type JSONSchemaPropsOrArray struct {
91
91
// See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
92
92
func (_ JSONSchemaPropsOrArray ) OpenAPISchemaType () []string {
93
93
// TODO: return actual types when anyOf is supported
94
- return [] string {}
94
+ return nil
95
95
}
96
96
97
97
// OpenAPISchemaFormat is used by the kube-openapi generator when constructing
@@ -111,7 +111,7 @@ type JSONSchemaPropsOrBool struct {
111
111
// See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
112
112
func (_ JSONSchemaPropsOrBool ) OpenAPISchemaType () []string {
113
113
// TODO: return actual types when anyOf is supported
114
- return [] string {}
114
+ return nil
115
115
}
116
116
117
117
// OpenAPISchemaFormat is used by the kube-openapi generator when constructing
@@ -133,7 +133,7 @@ type JSONSchemaPropsOrStringArray struct {
133
133
// See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
134
134
func (_ JSONSchemaPropsOrStringArray ) OpenAPISchemaType () []string {
135
135
// TODO: return actual types when anyOf is supported
136
- return [] string {}
136
+ return nil
137
137
}
138
138
139
139
// OpenAPISchemaFormat is used by the kube-openapi generator when constructing
You can’t perform that action at this time.
0 commit comments