Skip to content

Commit

Permalink
Merge b414557 into fe085c8
Browse files Browse the repository at this point in the history
  • Loading branch information
KumarManoj-S committed Jul 3, 2019
2 parents fe085c8 + b414557 commit 8d1939a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_restplus/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(self, default=None, attribute=None, title=None, description=None,
self.description = description
self.required = required
self.readonly = readonly
self.example = example or self.__schema_example__
self.example = example if example is not None else self.__schema_example__
self.mask = mask

def format(self, value):
Expand Down

0 comments on commit 8d1939a

Please sign in to comment.