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

RobinTail / express-zod-api / 31729488212
100%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2026 06:12PM UTC
Jobs 6
Files 50
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

13 Aug 2026 06:11PM UTC coverage: 100.0%. Remained the same
31729488212

push

github

web-flow
feat: Endpoint-specific status codes (#3621)

Based on discussion #3571 

Added `statusCode` option both to `BuildProps` of
`EndpointsFactory::build()` and to `Middleware::construcor()`. Those can
override the status codes configured at the ResultHandler level in a
very specific way:
- When ResultHandler defines a single schema, we override the codes
assuming the specifics of the Endpoint and the fact that the
ResultHandler treats all cases consistently;
- When ResultHandler defines multiple schemas for different status
codes, we intersect, assumming the narrowing nature of the gives codes:
- if the intersection comes empty, we throw due to inability to figure
out how exactly the ResultHandler would respond for the unlisted code

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Endpoints and middleware can declare custom HTTP status codes.
* Status codes are combined and deduplicated across endpoint and
middleware configuration.
* API responses and generated documentation include only declared,
matching status codes.
* Rate-limit middleware supports custom status codes and retains `429`
by default.
* Invalid or unmatched status-code configurations are reported clearly.

* **Documentation**
* Added guidance and examples for response overrides, authentication
interruptions, and rate limiting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

1088 of 1140 branches covered (95.44%)

25 of 25 new or added lines in 5 files covered. (100.0%)

1561 of 1561 relevant lines covered (100.0%)

582.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-26.x - 31729488212.1 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
2 run-22.19.0 - 31729488212.2 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
3 run-26.0.0 - 31729488212.3 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
4 run-24.11.0 - 31729488212.4 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
5 run-22.x - 31729488212.5 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
6 run-24.x - 31729488212.6 13 Aug 2026 06:12PM UTC 50
100.0
GitHub Action Run
Source Files on build 31729488212
  • Tree
  • List 50
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31729488212
  • bf308a78 on github
  • Prev Build on master (#31636686217)
  • Next Build on master (#31731673401)
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