Skip to content

Commit

Permalink
Don't use {} as default value
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrech committed Feb 19, 2017
1 parent 4a44cf4 commit 43b7d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_rest_api/spec/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def rules_for_endpoint(app, endpoint):


# Greatly inspired by apispec
def flask_path_helper(spec, app, rule, operations={}, **kwargs):
def flask_path_helper(spec, app, rule, operations=None, **kwargs):

path = flaskpath2swagger(rule.rule)
app_root = app.config['APPLICATION_ROOT'] or '/'
Expand Down

0 comments on commit 43b7d9c

Please sign in to comment.