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

DerManoMann / openapi-introspector / 39892285185
98%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 02:56AM UTC
Jobs 1
Files 17
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

23 Oct 2026 02:56AM UTC coverage: 97.822% (+0.04%) from 97.778%
39892285185

push

github

web-flow
Add a 403 for Laravel routes behind authorization middleware (#18)

A Laravel route behind authorization middleware now gets a `403`
response.

- Authorization middleware is the `can` alias (`can:update,post`), the
`Authorize` middleware or a subclass, and Sanctum's token ability
middleware, by its `abilities` and `ability` aliases or by class.
- It is read from the same middleware as the `401`: the route's and its
controller's, less what the route excludes. A route behind both gets the
`401` and the `403`.
- A project with middleware of its own lists it in the adapter's new
`authorization` option, which replaces the default names. The
`Authorize` class always counts.
- A form request's `authorize()` adds no `403`. Telling a real check
from `return true` would mean calling it outside a request, with no
user.
- A `403` the attributes declare wins.

14 of 14 new or added lines in 2 files covered. (100.0%)

584 of 597 relevant lines covered (97.82%)

20.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39892285185.1 23 Oct 2026 02:56AM UTC 17
97.82
GitHub Action Run
Source Files on build 39892285185
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fa0b4bbd on github
  • Prev Build on main (#39887056707)
  • Next Build on main (#40033534738)
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