Skip to content

Commit

Permalink
Merge pull request #643 from haydenbaker/handle-int-enum-shapes
Browse files Browse the repository at this point in the history
Fix the handling `intEnum` shapes when generating output value
  • Loading branch information
haydenbaker committed Dec 7, 2022
2 parents a07cd71 + d8af13f commit f139025
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2692,6 +2692,7 @@ private String getNumberOutputParam(
context.getWriter().addImport(
"strictParseLong", "__strictParseLong", "@aws-sdk/smithy-client");
return "__strictParseLong(" + dataSource + ")";
case INT_ENUM:
case INTEGER:
context.getWriter().addImport(
"strictParseInt32", "__strictParseInt32", "@aws-sdk/smithy-client");
Expand Down

0 comments on commit f139025

Please sign in to comment.