Skip to content

Commit 09ee2c3

Browse files
53ningenpraneetap
authored andcommitted
chore: typo in swagger.py (#1220)
1 parent 260e473 commit 09ee2c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samtranslator/swagger/swagger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def method_definition_has_integration(self, method_definition):
8888
"""
8989
Checks a method definition to make sure it has an apigw integration
9090
91-
:param dict method_defintion: method definition dictionary
91+
:param dict method_definition: method definition dictionary
9292
:return: True if an integration exists
9393
"""
9494
if method_definition.get(self._X_APIGW_INTEGRATION):
@@ -477,7 +477,7 @@ def set_path_default_authorizer(self, path, default_authorizer, authorizers,
477477
for method_name, method in self.get_path(path).items():
478478
normalized_method_name = self._normalize_method_name(method_name)
479479

480-
# Excluding paramters section
480+
# Excluding parameters section
481481
if normalized_method_name == "parameters":
482482
continue
483483
if add_default_auth_to_preflight or normalized_method_name != "options":
@@ -555,7 +555,7 @@ def set_path_default_apikey_required(self, path):
555555
"""
556556

557557
for method_name, _ in self.get_path(path).items():
558-
# Excluding paramters section
558+
# Excluding parameters section
559559
if method_name == "parameters":
560560
continue
561561

0 commit comments

Comments
 (0)