danielgtaylor / huma

Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
https://huma.rocks/
MIT License
1.87k stars 138 forks source link

fix: precondition error location to match other errors #420

Closed danielgtaylor closed 4 months ago

danielgtaylor commented 4 months ago

This updates the error locations for precondition failed response errors to match the format used by Huma, where the request. portion is not explicit. This improved consistency within the project.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.72%. Comparing base (bfa7e53) to head (ac9ece2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #420 +/- ## ======================================= Coverage 92.72% 92.72% ======================================= Files 21 21 Lines 3546 3546 ======================================= Hits 3288 3288 Misses 220 220 Partials 38 38 ```

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