Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Merge pull request #9 from thanhson1085/master
Browse files Browse the repository at this point in the history
Update flask_swagger.py
  • Loading branch information
atlithorn committed Jun 3, 2015
2 parents 27aab41 + 603eb08 commit 1846bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_swagger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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', [])
Expand Down

0 comments on commit 1846bbe

Please sign in to comment.