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

Adjust auth scheme name for compatibility #392

Merged
merged 2 commits into from
Apr 23, 2020

Conversation

srchase
Copy link
Contributor

@srchase srchase commented Apr 22, 2020

Adds getOpenApiAuthSchemeName default method which derives an auth scheme name from its shape ID by replacing the # with .. Ensures compatibility with API Gateway authorizer name requirements.

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

@srchase srchase requested a review from kstich April 22, 2020 23:52
@mtdowling
Copy link
Member

Why not do it on all OpenAPI models?

@kstich kstich mentioned this pull request Apr 23, 2020
@srchase srchase requested a review from mtdowling April 23, 2020 21:06
@srchase srchase merged commit 32853c5 into smithy-lang:1.0 Apr 23, 2020
@srchase srchase deleted the security-scheme-authorizer branch April 23, 2020 22:01
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.

2 participants