From 5ce3d9329366d3149fb968820673f0f60b6437ab Mon Sep 17 00:00:00 2001 From: Jaykumar Gosar Date: Thu, 18 Aug 2022 02:06:57 -0700 Subject: [PATCH] Update PostUnionWithJsonName protocol test Without this, TypeScript SSDK was failing PostUnionWithJsonNameResponse*:ServerResponse tests because the generated tests use a request with `{}` but that fails the validation logic since a member was marked required. So removing the required trait from the input. --- smithy-aws-protocol-tests/model/restJson1/unions.smithy | 1 - 1 file changed, 1 deletion(-) diff --git a/smithy-aws-protocol-tests/model/restJson1/unions.smithy b/smithy-aws-protocol-tests/model/restJson1/unions.smithy index f32fb6a71cd..f71163af415 100644 --- a/smithy-aws-protocol-tests/model/restJson1/unions.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/unions.smithy @@ -523,7 +523,6 @@ operation PostUnionWithJsonName { @input structure PostUnionWithJsonNameInput { - @required value: UnionWithJsonName }