aubergine-developers / nadia

Small and lightweight library for creating marshmallow Schemas for objects defined in OpenAPI 3 specs.
MIT License
1 stars 0 forks source link

Dev/validators #12

Closed dexter2206 closed 5 years ago

dexter2206 commented 5 years ago

Implements most of the validators listed in #11 with the only exception of validators for the number of properties.

For now, the validators still need to be incorporated into the process of creating schema's - this will be done in a separate pull request.

codecov-io commented 5 years ago

Codecov Report

Merging #12 into develop will decrease coverage by 26.72%. The diff coverage is 23.97%.

Impacted file tree graph

@@             Coverage Diff              @@
##           develop      #12       +/-   ##
============================================
- Coverage    94.09%   67.36%   -26.73%     
============================================
  Files           14       18        +4     
  Lines          237      383      +146     
============================================
+ Hits           223      258       +35     
- Misses          14      125      +111
Impacted Files Coverage Δ
nadia/validators.py 10.41% <10.41%> (ø)
tests/validators/test_extended_range.py 26.92% <26.92%> (ø)
tests/validators/test_collection_range.py 33.33% <33.33%> (ø)
tests/validators/test_unique_items.py 36.84% <36.84%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 04407c4...917805e. Read the comment docs.