From d74cb6218793c40e843694c0b7696563c9023fb9 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Mon, 11 Nov 2024 19:55:53 -0500 Subject: [PATCH] do not merge: disable skipOptionalRequestProperties --- .../ir-generator/src/generateIntermediateRepresentation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index b26d230c10a..839eb8b7093 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -533,7 +533,7 @@ function injectAutogeneratedExamples( service, endpoint, typeDeclarations: ir.types, - skipOptionalRequestProperties: skipOptionalRequestProperties ?? true, + skipOptionalRequestProperties: false, generationResponse: { type: "success" } }); if (generatedExample.type === "failure") {