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

Added scheme property to HttpApiKeyAuth trait #893

Merged
merged 17 commits into from
Sep 1, 2021
Merged

Conversation

DavidOgunsAWS
Copy link
Contributor

Issue #, if available:
#872 being addressed.

Description of changes:
New scheme property for existing trait. Additional validation to restrict usage to in=header to allow only practical or known use cases.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

@glb glb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @DavidOgunsAWS ! I can't claim that I know what's required to make this all work but everything here seems to make sense. One typo in the docs.

docs/source/1.0/spec/core/auth-traits.rst Outdated Show resolved Hide resolved
…oader/prelude.smithy

Co-authored-by: Jordon Phillips <JordonPhillips@users.noreply.github.com>
@glb
Copy link

glb commented Aug 20, 2021

@DavidOgunsAWS per this comment, I've discovered this code that I think needs to be updated as part of this PR. Thoughts? I wouldn't want this to go in and then be unable to fix the behaviour because it would break backwards compatibility.

Copy link
Contributor

@JordonPhillips JordonPhillips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The above commenter is correct - you'll need to update the openapi export to whatever apigateway expects.

@kstich kstich self-requested a review August 31, 2021 21:28
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.

4 participants