From 9133c718e37a94049c3b0c1e283b36b6cb3fbb26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Str=C3=A4hle?= Date: Sun, 13 Oct 2024 16:20:36 +0200 Subject: [PATCH] Fix approval test --- ...valTest.validations.samples.fabric8.io.v1.approved.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crd-generator/test/src/test/resources/io/fabric8/crd/generator/approvaltests/CRDGeneratorApprovalTest.approvalTest.validations.samples.fabric8.io.v1.approved.yml b/crd-generator/test/src/test/resources/io/fabric8/crd/generator/approvaltests/CRDGeneratorApprovalTest.approvalTest.validations.samples.fabric8.io.v1.approved.yml index 1a3d663d296..a67600a5760 100644 --- a/crd-generator/test/src/test/resources/io/fabric8/crd/generator/approvaltests/CRDGeneratorApprovalTest.approvalTest.validations.samples.fabric8.io.v1.approved.yml +++ b/crd-generator/test/src/test/resources/io/fabric8/crd/generator/approvaltests/CRDGeneratorApprovalTest.approvalTest.validations.samples.fabric8.io.v1.approved.yml @@ -384,20 +384,16 @@ spec: properties: maxItems1: additionalProperties: - maxLength: 1 type: "string" maxProperties: 1 type: "object" minItems1: additionalProperties: - minLength: 1 type: "string" minProperties: 1 type: "object" minItems1maxItems3: additionalProperties: - maxLength: 3 - minLength: 1 type: "string" maxProperties: 3 minProperties: 1 @@ -407,6 +403,8 @@ spec: properties: listItemMinLength1MaxLength3: items: + maxLength: 3 + minLength: 1 type: "string" type: "array" listItemPattern: @@ -416,6 +414,8 @@ spec: type: "array" mapItemMinLength1MaxLength3: additionalProperties: + maxLength: 3 + minLength: 1 type: "string" type: "object" mapItemPattern: