Skip to content
Unverified Commit 2e7cb459 authored by Matteo Bigoi's avatar Matteo Bigoi Committed by GitHub
Browse files

Fix #756: Improve server codegen by leveraging RuntimeType (#774)



* Fix SdkBody test to just use assert!

* Fixes #756: Improve server codegen by leveraging RuntimeType. Cleanup
server CodegenVisitor to only render protocol specific code for
OperationShapes.

* Fix silly error I introduced in the smithy-http SdkBody tests

* Apply suggestions from code review

Co-authored-by: default avatardavid-perez <d@vidp.dev>

* Extract Json ser/de into an interface. Refactor the CodegenVisitor
structureShape to generate both inputs and outputs outside of the
ProtocolGenerator.

* Gather error members from the HTTP index

* Use operationShape as input for server generation of input/output/error

Co-authored-by: default avatardavid-perez <d@vidp.dev>
parent 8b5eb685
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment