OpenApi platform docs Response missing
aarsla opened this issue · 4 comments
aarsla commented
mbabker commented
Decorate the lexik_jwt_authentication.api_platform.openapi.factory
service provided by the LexikJWTAuthenticationBundle
to add it, or disable that bundle's API Platform integration and add the info you need with a service in your own app.
I don't actually use API Platform so no idea what is the best solution, but there is no hook point in the Lexik bundle's factory class to extend the login endpoint's response schema. It also seems like you'd need something in your app documenting the refresh endpoint since this bundle doesn't provide an integration for that, either.