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
Parameter 3 of method swaggerWelcome in org.springdoc.webmvc.ui.SwaggerConfig required a single bean, but 3 were found:
- requestMappingHandlerMapping: defined by method 'requestMappingHandlerMapping' in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]
- webEndpointServletHandlerMapping: defined by method 'webEndpointServletHandlerMapping' in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/servlet/WebMvcEndpointManagementContextConfiguration.class]
- controllerEndpointHandlerMapping: defined by method 'controllerEndpointHandlerMapping' in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/web/servlet/WebMvcEndpointManagementContextConfiguration.class]
I'm using Spring Boot 2.5.5, Spring Doc OpenAPI 1.5.11. I've created two GroupedOpenApi and one OpenAPI beans. Otherwise nothing fancy so far. Using Gradle 7.2 for the build. Java 11.
If it's a known issue, happy to hear the resolution. If not, I'll create a simple project and put it to my github account. I can't share the project itself as is.
The text was updated successfully, but these errors were encountered:
I am trying to switch from Springfox to Spring Doc. I've followed https://springdoc.org/#migrating-from-springfox, but my service now fails at startup with
I'm using Spring Boot 2.5.5, Spring Doc OpenAPI 1.5.11. I've created two GroupedOpenApi and one OpenAPI beans. Otherwise nothing fancy so far. Using Gradle 7.2 for the build. Java 11.
If it's a known issue, happy to hear the resolution. If not, I'll create a simple project and put it to my github account. I can't share the project itself as is.
The text was updated successfully, but these errors were encountered: