mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
apiextensions: switch OpenAPI pubilshing to structural schema
This commit is contained in:
@@ -160,6 +160,7 @@ func TestCRDOpenAPI(t *testing.T) {
|
||||
},
|
||||
Validation: &apiextensionsv1beta1.CustomResourceValidation{
|
||||
OpenAPIV3Schema: &apiextensionsv1beta1.JSONSchemaProps{
|
||||
Type: "object",
|
||||
Properties: map[string]apiextensionsv1beta1.JSONSchemaProps{
|
||||
"foo": {Type: "string"},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user