openapi-core icon indicating copy to clipboard operation
openapi-core copied to clipboard

Validation crashes on BooleanCaster: AttributeError: 'int' object has…

Open ryabtsev opened this issue 1 year ago • 1 comments

if value.lower() not in ["false", "true"]:

AttributeError: 'int' object has no attribute 'lower'

ryabtsev avatar Jun 30 '24 21:06 ryabtsev

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.28%. Comparing base (0383a3d) to head (8c9de2a). Report is 18 commits behind head on master.

Files Patch % Lines
openapi_core/casting/schemas/casters.py 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #863   +/-   ##
=======================================
  Coverage   90.28%   90.28%           
=======================================
  Files         148      148           
  Lines        4312     4312           
  Branches      527      527           
=======================================
  Hits         3893     3893           
  Misses        317      317           
  Partials      102      102           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jul 01 '24 08:07 codecov[bot]