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

Unleash / unleash / 12429275708
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Dec 2024 09:59AM UTC
Jobs 1
Files 706
Run time 2min
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

20 Dec 2024 09:53AM UTC coverage: 87.351% (+0.005%) from 87.346%
12429275708

push

github

web-flow
fix: Change Open API validation middleware to specify and use path parameters (#8913)

## About the changes
Moved Open API validation handler to the controller layer to reuse on
all services such as project and segments, and also removed unnecessary
middleware at the top level, `app.ts`, and method, `useErrorHandler` in
`openapi-service.ts`.

### Important files

#### Before

<img width="1510" alt="1 Before"
src="https://github.com/user-attachments/assets/96ac245d-92ac-469e-a097-c6c0b78d0def">

Express cant' parse the path parameter because it doesn't be specified
on the `use` method. Therefore, it returns `undefined` as an error
message.

#### After

<img width="1510" alt="2 After"
src="https://github.com/user-attachments/assets/501dae6c-fef5-4e77-94c3-128a9f7210da">

Express can parse the path parameter because I change to specify it on
the controller layer. Accordingly, it returns `test`.

2837 of 3735 branches covered (75.96%)

6 of 7 new or added lines in 1 file covered. (85.71%)

1 existing line in 1 file now uncovered.

14627 of 16745 relevant lines covered (87.35%)

718.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12429275708.1 20 Dec 2024 09:59AM UTC 0
87.35
GitHub Action Run
Source Files on build 12429275708
Detailed source file information is not available for this build.
  • Back to Repo
  • df9292ff on github
  • Prev Build on main (#12428321009)
  • Next Build on main (#12430261195)
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