From 4477a96b9e59aac9b90ef5a6a265a4dd8d7848fd Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 08:51:04 +0100 Subject: [PATCH 1/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index c081bd16..bd912ad4 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -1948,17 +1948,17 @@ export const GetTestCaseTestSteps200Response = zod .object({ description: zod .string() - .optional() + .nullish() .describe("The instruction to be followed"), testData: zod .string() - .optional() + .nullish() .describe( "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description.", ), expectedResult: zod .string() - .optional() + .nullish() .describe( "The expected outcome of executing the instruction", ), @@ -1970,7 +1970,7 @@ export const GetTestCaseTestSteps200Response = zod ), reflectRef: zod .string() - .optional() + .nullish() .describe("The AI reference. Zephyr only feature"), }) .strict() From ae9e255dec79b51e769a7a5319ce9d7aedc2a54e Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 09:48:11 +0100 Subject: [PATCH 2/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index bd912ad4..d0b3deb4 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -2018,7 +2018,7 @@ export const GetTestCaseTestSteps200Response = zod .describe("The list of parameters of the call to test step"), }) .strict() - .optional(), + .nullish(), }) .strict() .describe( From 7624e0b1cce0420859654a0f2034881af159b2e8 Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 10:08:38 +0100 Subject: [PATCH 3/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index d0b3deb4..bb4fed50 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -1974,7 +1974,7 @@ export const GetTestCaseTestSteps200Response = zod .describe("The AI reference. Zephyr only feature"), }) .strict() - .optional(), + .nullish(), testCase: zod .object({ self: zod From 81f8f795fc595c9141e4d0539d22589cdd1d9e21 Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 11:08:33 +0100 Subject: [PATCH 4/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index bb4fed50..043beee5 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -2014,7 +2014,7 @@ export const GetTestCaseTestSteps200Response = zod }) .strict(), ) - .optional() + .nullish() .describe("The list of parameters of the call to test step"), }) .strict() From 9424b27e48f58213dc13eb3ec6c0e5f131ce8a15 Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 13:15:55 +0100 Subject: [PATCH 5/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index 043beee5..a06766dc 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -2018,7 +2018,7 @@ export const GetTestCaseTestSteps200Response = zod .describe("The list of parameters of the call to test step"), }) .strict() - .nullish(), + .optional(), }) .strict() .describe( From 89f6ce0232d937200646b1db14e57b9b8b1546bf Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 13:19:03 +0100 Subject: [PATCH 6/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index a06766dc..043beee5 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -2018,7 +2018,7 @@ export const GetTestCaseTestSteps200Response = zod .describe("The list of parameters of the call to test step"), }) .strict() - .optional(), + .nullish(), }) .strict() .describe( From b20aec2ca53715bd2a664da5b30a832fd0d1e6f0 Mon Sep 17 00:00:00 2001 From: MikolajMozuch Date: Wed, 25 Mar 2026 16:04:44 +0100 Subject: [PATCH 7/7] Schema fix - rest-api --- src/zephyr/common/rest-api-schemas.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/zephyr/common/rest-api-schemas.ts b/src/zephyr/common/rest-api-schemas.ts index 834e3b5c..7ecdb21e 100644 --- a/src/zephyr/common/rest-api-schemas.ts +++ b/src/zephyr/common/rest-api-schemas.ts @@ -2087,17 +2087,17 @@ export const CreateTestCaseTestStepsBody = zod .object({ description: zod .string() - .optional() + .nullish() .describe("The instruction to be followed"), testData: zod .string() - .optional() + .nullish() .describe( "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description.", ), expectedResult: zod .string() - .optional() + .nullish() .describe( "The expected outcome of executing the instruction", ), @@ -2109,11 +2109,11 @@ export const CreateTestCaseTestStepsBody = zod ), reflectRef: zod .string() - .optional() + .nullish() .describe("The AI reference. Zephyr only feature"), }) .strict() - .optional(), + .nullish(), testCase: zod .object({ self: zod @@ -2153,11 +2153,11 @@ export const CreateTestCaseTestStepsBody = zod }) .strict(), ) - .optional() + .nullish() .describe("The list of parameters of the call to test step"), }) .strict() - .optional(), + .nullish(), }) .strict() .describe(