flask-restx icon indicating copy to clipboard operation
flask-restx copied to clipboard

Allow to setup schema format of the field

Open andreykurilin opened this issue 4 years ago • 1 comments

Raw object has schema_format class-level property that is used while constucting jsonschema. Making it configurable while describing an obj allows to avoid constructing empty python classes that overrides just one property.

andreykurilin avatar Sep 03 '20 10:09 andreykurilin

Codecov Report

Merging #216 (2890edf) into master (84ae836) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #216   +/-   ##
=======================================
  Coverage   96.85%   96.85%           
=======================================
  Files          19       19           
  Lines        2705     2707    +2     
=======================================
+ Hits         2620     2622    +2     
  Misses         85       85           
Impacted Files Coverage Δ
flask_restx/fields.py 96.60% <100.00%> (+0.01%) :arrow_up:

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 84ae836...ee0fb9e. Read the comment docs.

codecov[bot] avatar Sep 03 '20 10:09 codecov[bot]