Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix codegen for unions with the @httpPayload trait #2969

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

jdisanti
Copy link
Collaborator

@jdisanti jdisanti commented Aug 30, 2023

This PR incorporates the new test cases in Smithy from smithy-lang/smithy#1908, and adds support to @restXml and @restJson1 for unions with the @httpPayload trait. This resolves #1896.

This also fixes code generation for the latest medicalimaging SDK model.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@jdisanti jdisanti added this pull request to the merge queue Aug 31, 2023
Merged via the queue into main with commit c98d5fe Aug 31, 2023
41 checks passed
@jdisanti jdisanti deleted the jdisanti-fix-medicalimaging branch August 31, 2023 17:07
ysaito1001 pushed a commit that referenced this pull request Sep 15, 2023
This PR incorporates the new test cases in Smithy from
smithy-lang/smithy#1908, and adds support to
`@restXml` and `@restJson1` for unions with the `@httpPayload` trait.
This resolves #1896.

This also fixes code generation for the latest `medicalimaging` SDK
model.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
ysaito1001 added a commit that referenced this pull request Sep 15, 2023
## Motivation and Context
Cherry-picks #2969, since our
internal build based on the `smithy-rs-release-0.56.x` branch failed to
code gen for the latest `medicalimaging` SDK model.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: John DiSanti <jdisanti@amazon.com>
aws-sdk-rust-ci pushed a commit to awslabs/aws-sdk-rust that referenced this pull request Sep 19, 2023
…` trait (#2987)

## Motivation and Context
Cherry-picks smithy-lang/smithy-rs#2969, since our
internal build based on the `smithy-rs-release-0.56.x` branch failed to
code gen for the latest `medicalimaging` SDK model.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: John DiSanti <jdisanti@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

httpPayload does not work on union shapes
2 participants