aiohttp-apispec icon indicating copy to clipboard operation
aiohttp-apispec copied to clipboard

add check response by schema

Open Sanchoyzer opened this issue 3 years ago • 3 comments

Added the ability to validate the response using schemas

Sanchoyzer avatar Jul 27 '20 21:07 Sanchoyzer

Codecov Report

Merging #97 into master will increase coverage by 0.49%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   95.91%   96.41%   +0.49%     
==========================================
  Files           8        8              
  Lines         245      251       +6     
==========================================
+ Hits          235      242       +7     
+ Misses         10        9       -1     
Impacted Files Coverage Δ
aiohttp_apispec/middlewares.py 91.17% <100.00%> (+1.89%) :arrow_up:
aiohttp_apispec/aiohttp_apispec.py 95.65% <0.00%> (+0.72%) :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 4697941...90ea591. Read the comment docs.

codecov-commenter avatar Jul 27 '20 21:07 codecov-commenter

@Sanchoyzer thanks for the PR! Could you please make this checking to be optional?

maximdanilchenko avatar Jul 29 '20 13:07 maximdanilchenko

@maximdanilchenko I have tried, but it seems that there is a bug which blocked me https://github.com/maximdanilchenko/aiohttp-apispec/issues/98

Sanchoyzer avatar Aug 02 '20 08:08 Sanchoyzer