smithy-lang/smithy-swift

Update StructGenerator to generate *Body types

Closed this issue · 0 comments

wooj2 commented

Context, PR 97:
#97

We are generating *Body types in order to deserialize bodies. Ideally, we would be able to use the StructGenerator for these types in order to reduce duplicate code.

This ticket is a minor refactor task to reduce duplicate code between HttpBindingProtocolGenerator and the StructGenerator classes