Closed cjproud closed 7 months ago
Thanks. Looks good.
Please complete tests in /tests/test_ext_marshmallow_field.py:
- test_field2property_type
- test_field2property_formats
Does this solve marshmallow-code/flask-smorest#623?
Yup this solves that issue 👍
This relates to https://github.com/marshmallow-code/flask-smorest/issues/623 where Swagger was not obeying
required=True
for theIPv4
field. This adds the different IP fields to the DEFAULT_FIELD_MAPPING where the type is string the format is the IP address format.