Skip to content

Commit

Permalink
Merge pull request #155 from nusnuson/add_ip_interface_field_type
Browse files Browse the repository at this point in the history
Added fields.IPInterface marshmallow field type to python types mapping
  • Loading branch information
fuhrysteve committed Aug 16, 2021
2 parents b753939 + 2f6a2f2 commit 863170d
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 @@ -86,6 +86,7 @@
(fields.List, list),
(fields.Number, decimal.Decimal),
(fields.IP, str),
(fields.IPInterface, str),
# This one is here just for completeness sake and to check for
# unknown marshmallow fields more cleanly.
(fields.Nested, dict),
Expand Down

0 comments on commit 863170d

Please sign in to comment.