-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenApi platform docs Response missing #372
Comments
Decorate the 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. |
how to decorate it? I set in service.yaml:
And create the file:
I also tried: It doesn't work |
+1 |
1 similar comment
+1 |
OpenApi docs for LexikJWTAuthenticationBundle's "Login Check" response schema is missing "refresh_token" attribute.
How can I (decorate OpenApiFactory?) include it in docs response/example value and match the actual response body?
The text was updated successfully, but these errors were encountered: