• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Unleash / unleash / 9972817648
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Jul 2024 10:52AM UTC
Jobs 1
Files 636
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jul 2024 10:47AM UTC coverage: 87.652% (-0.04%) from 87.691%
9972817648

push

github

web-flow
fix: Update OpenAPI error converter to handle query param errors too (#7609)

This PR updates the OpenAPI error converter to also work for errors with
query parameters.
We previously only sent the body of the request along with the error,
which meant that query parameter errors would show up incorrectly.

For instance given a query param with the date format and the invalid
value `01-2020-01`, you'd previously get the message:
> The `from` value must match format "date". You sent undefined

With this change, you'll get this instead:
> The `from` value must match format "date". You sent "01-2020-01". 

The important changes here are two things:
- passing both request body and query params
- the 3 lines in `fromOpenApiValidationError` that check where we should
get the value you sent from.

The rest of it is primarily updating tests to send the right arguments
and some slight rewording to more accurately reflect that this can be
either request body or query params.

2563 of 3372 branches covered (76.01%)

4 of 4 new or added lines in 1 file covered. (100.0%)

6 existing lines in 1 file now uncovered.

13146 of 14998 relevant lines covered (87.65%)

704.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9972817648.1 17 Jul 2024 10:52AM UTC 0
87.65
GitHub Action Run
Source Files on build 9972817648
Detailed source file information is not available for this build.
  • Back to Repo
  • 949a5f01 on github
  • Prev Build on main (#9971300633)
  • Next Build on main (#9991469358)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc