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

markitosgv / JWTRefreshTokenBundle / 30876478709
100%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2026 04:03AM UTC
Jobs 1
Files 46
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

04 Aug 2026 04:02AM UTC coverage: 97.345% (-0.08%) from 97.428%
30876478709

push

github

shakaran
feat: document the refresh token in the api platform specification

Lexik documents the login endpoint, but its response schema only carries the
JWT, because the refresh token beside it is added here and that factory has no
hook to extend. The refresh endpoint is documented by nobody: it is a firewall
authenticator, so there is no controller or resource for API Platform to find.

api_platform.enabled decorates the same factory at a lower priority than Lexik,
so it is handed the specification Lexik has already contributed to.

It reads the bundle's own configuration rather than repeating it, which is what
a decorator written by hand cannot do: with the cookie enabled and the token
removed from the body there is no refresh_token property to document, and
promising one is promising a field that never arrives.

The refresh paths are only ever named on the firewall, so the authenticator
factory records them as each authenticator is created.

Off by default, since an application already decorating the factory by hand
would end up documenting the endpoint twice.

Closes #372

115 of 119 new or added lines in 4 files covered. (96.64%)

1100 of 1130 relevant lines covered (97.35%)

13.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.0
src/OpenApi/OpenApiFactory.php
1
91.11
-1.2% src/DependencyInjection/GesdinetJWTRefreshTokenExtension.php
Jobs
ID Job ID Ran Files Coverage
1 30876478709.1 04 Aug 2026 04:03AM UTC 46
97.35
GitHub Action Run
Source Files on build 30876478709
  • Tree
  • List 46
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30876478709
  • 52f7cc56 on github
  • Prev Build on master (#30875785666)
  • Next Build on master (#30876797306)
  • Delete
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