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

Content type

Open andreykurilin opened this issue 4 years ago • 3 comments

andreykurilin avatar Dec 15 '20 15:12 andreykurilin

Codecov Report

Merging #260 (1df8806) into master (570d5c6) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #260   +/-   ##
=======================================
  Coverage   96.85%   96.86%           
=======================================
  Files          19       19           
  Lines        2705     2710    +5     
=======================================
+ Hits         2620     2625    +5     
  Misses         85       85           
Impacted Files Coverage Δ
flask_restx/namespace.py 94.61% <100.00%> (+0.06%) :arrow_up:
flask_restx/swagger.py 96.76% <100.00%> (+0.02%) :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 570d5c6...e35c5bc. Read the comment docs.

codecov[bot] avatar Dec 15 '20 15:12 codecov[bot]

@ziirish hi! I have a custom Model class that allows describing not-json like input, for example just a single string. To make it work through the swagger UI, an expected content-type should be specified properly (currently, it allows to specify only json).

andreykurilin avatar Feb 04 '21 10:02 andreykurilin

Similar to #155.

dpeschman avatar Feb 14 '22 22:02 dpeschman