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

Generated client does not honor @http trait #355

Closed
jabalsad opened this issue Feb 25, 2022 · 1 comment
Closed

Generated client does not honor @http trait #355

jabalsad opened this issue Feb 25, 2022 · 1 comment

Comments

@jabalsad
Copy link

Hello,

We define our HTTP endpoints using the @http trait on operations, e.g.:

@http(uri: "/create_account", method: "POST")
operation CreateAccount {
...

Taken from https://awslabs.github.io/smithy/1.0/spec/core/http-traits.html

But these paths are nowhere to be found in the generated go client.

@jasdel
Copy link
Contributor

jasdel commented Feb 26, 2022

This issue is similar to #354. Since the smithy-go codegen does not include any protocols implementation it cannot understand the @http trait. Lets use #354 to track this general concept and feature request.

@jasdel jasdel closed this as completed Feb 26, 2022
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

No branches or pull requests

2 participants