Closed justin-tay closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
c7e7ab4
) 78.81% compared to head (ad9d785
) 78.92%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@justin-tay Type-loose is not a concept in the specification but an extra feature in the library. This was introduced to validate incoming requests against the OpenAPI specifications. In HTTP requests, headers, query and path parameters don't have type information.
Closes #415
Add test for type validator type loose behavior for arrays and update documentation accordingly that type loose will interpret an item as an array of size 1 and that it will then only validate that that item matches the type defined for the array.
Not sure if there is supposed to be a spec which defines what type loose behavior is supposed to be.