Skip to content

bug fix for authorizer none when using swagger#1211

Merged
keetonian merged 3 commits intoaws:developfrom
ShreyaGangishetty:bug-984
Oct 17, 2019
Merged

bug fix for authorizer none when using swagger#1211
keetonian merged 3 commits intoaws:developfrom
ShreyaGangishetty:bug-984

Conversation

@ShreyaGangishetty
Copy link

@ShreyaGangishetty ShreyaGangishetty commented Oct 17, 2019

Issue #, if available:
#984
Description of changes:
SAM didn't update the swagger with Authorizer: NONE if user has defined the swagger.
added a code fix for updating the swagger for this.

Description of how you validated changes:
manually deployed and tested the template

Checklist:

  • Write/update tests
  • make pr passes
  • Verify transformed template deploys and application functions as expected

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

@codecov-io
Copy link

codecov-io commented Oct 17, 2019

Codecov Report

Merging #1211 into develop will increase coverage by 0.08%.
The diff coverage is 95%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1211      +/-   ##
===========================================
+ Coverage    94.33%   94.41%   +0.08%     
===========================================
  Files           72       72              
  Lines         3725     3725              
  Branches       733      736       +3     
===========================================
+ Hits          3514     3517       +3     
+ Misses         107      105       -2     
+ Partials       104      103       -1
Impacted Files Coverage Δ
samtranslator/model/eventsources/push.py 89.81% <95%> (+0.28%) ⬆️
samtranslator/swagger/swagger.py 92.57% <0%> (+0.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5e05d0...009bb24. Read the comment docs.

Copy link
Contributor

@jlhood jlhood left a comment

Choose a reason for hiding this comment

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

Just some file renaming. Otherwise, this looks good!

@keetonian keetonian merged commit fefc61f into aws:develop Oct 17, 2019
@keetonian keetonian changed the title bug fix for authorizer non when using swagger bug fix for authorizer none when using swagger Oct 21, 2019
ShreyaGangishetty pushed a commit to ShreyaGangishetty/serverless-application-model that referenced this pull request Jan 2, 2020
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