Skip to content

Commit

Permalink
enum introspection fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
napster125 committed Mar 3, 2014
1 parent 9c7daf8 commit c542c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework_swagger/introspectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def get_parameters(self):
f['maximum'] = field.get('maximum', 0)

# enum options
enum = f.get('enum', [])
enum = field.get('enum', [])
if enum:
f['enum'] = enum

Expand Down

0 comments on commit c542c89

Please sign in to comment.