plone / guillotina

Python AsyncIO data API to manage billions of resources
https://guillotina.readthedocs.io/en/latest/
Other
187 stars 51 forks source link

JSON Schema and open api serialization fixes #841

Closed vangheem closed 4 years ago

vangheem commented 4 years ago

More fixes to make sure our API is compliant

codecov-io commented 4 years ago

Codecov Report

Merging #841 into 5.x will increase coverage by 0.1%. The diff coverage is 98.4%.

Impacted file tree graph

@@           Coverage Diff           @@
##             5.x    #841     +/-   ##
=======================================
+ Coverage   94.4%   94.4%   +0.1%     
=======================================
  Files        306     306             
  Lines      27483   27600    +117     
=======================================
+ Hits       25936   26054    +118     
+ Misses      1547    1546      -1
Impacted Files Coverage Δ
guillotina/api/content.py 90.9% <ø> (ø) :arrow_up:
guillotina/contrib/swagger/__init__.py 100% <ø> (ø) :arrow_up:
guillotina/api/files.py 99% <ø> (ø) :arrow_up:
guillotina/tests/test_adapters.py 100% <ø> (ø) :arrow_up:
guillotina/tests/test_jsonschema.py 100% <100%> (ø) :arrow_up:
guillotina/interfaces/content.py 100% <100%> (ø) :arrow_up:
guillotina/tests/test_configure.py 98% <100%> (ø) :arrow_up:
guillotina/contrib/swagger/services.py 91.8% <100%> (+0.3%) :arrow_up:
guillotina/tests/test_api.py 99.6% <100%> (ø) :arrow_up:
guillotina/json/serialize_schema.py 98.4% <100%> (+2.8%) :arrow_up:
... and 3 more