You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When @RegisteredOAuth2AuthorizedClient is added to the controller definition, it is rendered in Swagger-UI. For @AuthenticationPrincipal, everything works fine.
Describe the Bug
When
@RegisteredOAuth2AuthorizedClient
is added to the controller definition, it is rendered in Swagger-UI. For@AuthenticationPrincipal
, everything works fine.To Reproduce
Java:
21
Spring Boot:
3.2.5
Springdocs:
2.5.0
Code Example:
In Swagger-UI,
authorizedClient
is rendered as a required query parameter.Expected Behavior
authorizedClient
should not be rendered in Swagger-UI.Screenshots
The text was updated successfully, but these errors were encountered: