File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
springdoc-openapi-security/src/main/java/org/springdoc/core Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,12 @@ IgnoredParameterTypes ignoredParameterTypes() {
24
24
return new IgnoredParameterTypes ();
25
25
}
26
26
27
- @ Bean
27
+ @ Configuration
28
28
@ ConditionalOnBean (FrameworkEndpointHandlerMapping .class )
29
- public SpringSecurityOAuth2Provider springSecurityOAuth2Provider (FrameworkEndpointHandlerMapping oauth2EndpointHandlerMapping ) {
30
- return new SpringSecurityOAuth2Provider (oauth2EndpointHandlerMapping );
29
+ class SpringSecurityOAuth2ProviderConfiguration {
30
+ @ Bean
31
+ public SpringSecurityOAuth2Provider springSecurityOAuth2Provider (FrameworkEndpointHandlerMapping oauth2EndpointHandlerMapping ) {
32
+ return new SpringSecurityOAuth2Provider (oauth2EndpointHandlerMapping );
33
+ }
31
34
}
32
35
}
You can’t perform that action at this time.
0 commit comments