colvin/api-platform-swagger-decorator

Swagger decorator for API Platform, adding JWT endpoints

Maintainers

Package info

github.com/TheColvinCo/api-platform-swagger-decorator

pkg:composer/colvin/api-platform-swagger-decorator

Statistics

Installs: 1 777

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.2 2021-01-12 14:16 UTC

This package is auto-updated.

Last update: 2026-03-13 02:38:41 UTC


README

Swagger decorator for API Platform, adding JWT endpoints

Install the package:

composer req colvin/api-platform-swagger-decorator

Define the service in services.yaml:

services:
    Colvin\Swagger\Decorator:
        decorates: 'api_platform.openapi.factory'
        autoconfigure: false

If you go to your api docs page you should now see a new group with JWT authentication and refresh endpoints.