Skip to content

Added scheme property to HttpApiKeyAuth trait#893

Merged
DavidOgunsAWS merged 17 commits intomainfrom
apikeyscheme
Sep 1, 2021
Merged

Added scheme property to HttpApiKeyAuth trait#893
DavidOgunsAWS merged 17 commits intomainfrom
apikeyscheme

Conversation

@DavidOgunsAWS
Copy link
Copy Markdown
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
Copy Markdown

@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.

…oader/prelude.smithy

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

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
Copy Markdown
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