Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samtranslator/swagger/swagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def method_definition_has_integration(self, method_definition):
"""
Checks a method definition to make sure it has an apigw integration

:param dict method_defintion: method definition dictionary
:param dict method_definition: method definition dictionary
:return: True if an integration exists
"""
if method_definition.get(self._X_APIGW_INTEGRATION):
Expand Down Expand Up @@ -477,7 +477,7 @@ def set_path_default_authorizer(self, path, default_authorizer, authorizers,
for method_name, method in self.get_path(path).items():
normalized_method_name = self._normalize_method_name(method_name)

# Excluding paramters section
# Excluding parameters section
if normalized_method_name == "parameters":
continue
if add_default_auth_to_preflight or normalized_method_name != "options":
Expand Down Expand Up @@ -555,7 +555,7 @@ def set_path_default_apikey_required(self, path):
"""

for method_name, _ in self.get_path(path).items():
# Excluding paramters section
# Excluding parameters section
if method_name == "parameters":
continue

Expand Down