diff --git a/flask_swagger.py b/flask_swagger.py index 7670b7e..e27cfb6 100644 --- a/flask_swagger.py +++ b/flask_swagger.py @@ -133,7 +133,7 @@ def spec(): for verb in rule.methods.difference(ignore_verbs): methods[verb.lower()] = endpoint operations = dict() - for verb, method in methods.iteritems(): + for verb, method in methods.items(): summary, description, swag = _parse_docstring(method, process_doc) if swag is not None: # we only add endpoints with swagger data in the docstrings params = swag.get('parameters', [])