Closed
Description
I see that SpringDocWebFluxConfiguration has @ConditionalOnMissingBean and @ConditionalOnProperty set, but when I set the property to false, or provide a bean spring still complains:
@RestController("openApiResource")
public class MyOpenApiResource {
}
The bean 'openApiResource', defined in class path resource [org/springdoc/webflux/core/SpringDocWebFluxConfiguration.class], could not be registered. A bean with that name has already been defined in file [/Users//Desktop//services//target/classes/com////controllers/MyOpenApiResource.class] and overriding is disabled.
Using Spring Boot 2.2.6
Spring Doc 1.3.4
Thank you!