Skip to content

Commit

Permalink
Merge pull request #86 from yeralin/number-field-support
Browse files Browse the repository at this point in the history
Add support for marshmallow.fields.Number
  • Loading branch information
fuhrysteve authored Aug 14, 2019
2 parents ee7fcaa + a992ddd commit b29a8af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marshmallow_jsonschema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def _get_default_mapping(self, obj):
fields.List: list,
fields.LocalDateTime: datetime.datetime,
fields.Nested: "_from_nested_schema",
fields.Number: decimal.Decimal,
}
)
return mapping
Expand Down

0 comments on commit b29a8af

Please sign in to comment.