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

Unleash / unleash / 11894164702
87%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Nov 2024 02:13PM UTC
Jobs 1
Files 699
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

18 Nov 2024 02:08PM UTC coverage: 87.626% (-0.05%) from 87.672%
11894164702

push

github

web-flow
fix: Remove `idNumberMiddleware` and change to use `parameters` in `validPath` method instead (#8734)

## About the changes

- Remove `idNumberMiddleware` method and change to use `parameters`
field in `openApiService.validPath` method for the flexibility.
- Remove unnecessary `Number` type converting method and change them to
use `<{id: number}>` to specify the type.

### Reference

The changed response looks like the one below.

```JSON
{
   "id":"8174a692-7427-4d35-b7b9-6543b9d3db6e",
   "name":"BadDataError",
   "message":"Request validation failed: your request body or params contain invalid data. Refer to the `details` list for more information.",
   "details":[
      {
         "message":"The `/params/id` property must be integer. You sent undefined.",
         "path":"/params/id"
      }
   ]
}
```

I think it might be better to customize the error response, especially
`"You sent undefined."`, on another pull request if this one is
accepted. I prefer to separate jobs to divide the context and believe
that it helps reviewer easier to understand.

2761 of 3592 branches covered (76.87%)

7 of 8 new or added lines in 2 files covered. (87.5%)

7 existing lines in 3 files now uncovered.

14291 of 16309 relevant lines covered (87.63%)

708.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11894164702.1 18 Nov 2024 02:13PM UTC 0
87.63
GitHub Action Run
Source Files on build 11894164702
Detailed source file information is not available for this build.
  • Back to Repo
  • 69587313 on github
  • Prev Build on main (#11891046604)
  • Next Build on main (#11895408643)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc