Skip to content

Add type mapping for IPInterface from Marshmallow - #127

Open
Cristi075 wants to merge 1 commit into
apryor6:masterfrom
Cristi075:master
Open

Add type mapping for IPInterface from Marshmallow#127
Cristi075 wants to merge 1 commit into
apryor6:masterfrom
Cristi075:master

Conversation

@Cristi075

Copy link
Copy Markdown

I want to use an IPInterface field in order to make use of the built-in validations for networks.

This is the least strict version of the network fields that Marshmallow offers. I could also add in IP, IPv4, IPv4Interface, IPv6, and IPv6Interface.

Currently, if a Marshmallow schema contains an IPInterface field it will be correctly parsed but it won't be included in the automatically generated OpenAPI spec.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.03%. Comparing base (eeb3a62) to head (a29a225).
⚠️ Report is 1 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   97.03%   97.03%           
=======================================
  Files           9        9           
  Lines        1416     1416           
=======================================
  Hits         1374     1374           
  Misses         42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants