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

DerManoMann / openapi-introspector / 42529276061
95%

Build:
DEFAULT BRANCH: main
Ran 08 Nov 2026 10:15PM UTC
Jobs 1
Files 21
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

08 Nov 2026 10:14PM UTC coverage: 97.869% (-0.03%) from 97.903%
42529276061

push

github

web-flow
feat(Plugin): add the introspector as a swagger-php plugin (#24)

* Add the introspector as a swagger-php plugin

`IntrospectorPlugin` takes adapters ready made, or creates them from settings keyed by adapter
class. `LaravelAdapter::fromConfig()` reads the routes and the default guard through
`Routing\Laravel\Application`.

* Read the routes at build time, and rename `Application` to `RouteSource`

The routes and the default guard of an adapter created from settings are read when the
document is built, so a builder configured before the routes exist still documents them.
`middleware` also takes a list of groups, and a `routeSource` that needs constructor
arguments throws the documented `InvalidArgumentException`.

Also document the plugin for L5-Swagger, which has no option for it yet.

* Read the L5 factory's routes at build time, and skip non-string middleware

`RouteSource::routes()` no longer casts a closure middleware to a string, and
`BuilderFactory` reads the routes and the default guard when the document is built.

Also say in the L5-Swagger docs that the factory sets the mode.

93 of 94 new or added lines in 6 files covered. (98.94%)

1 existing line in 1 file now uncovered.

689 of 704 relevant lines covered (97.87%)

20.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.67
-13.33% src/Integrations/L5Swagger/BuilderFactory.php

Coverage Regressions

Lines Coverage ∆ File
1
86.67
-13.33% src/Integrations/L5Swagger/BuilderFactory.php
Jobs
ID Job ID Ran Files Coverage
1 42529276061.1 08 Nov 2026 10:15PM UTC 21
97.87
GitHub Action Run
Source Files on build 42529276061
  • Tree
  • List 21
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • df7da7fa on github
  • Prev Build on main (#42135481319)
  • Next Build on main (#42699334911)
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