We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eccb93 commit c82bae2Copy full SHA for c82bae2
springdoc-openapi-webflux-ui/src/main/java/org/springdoc/webflux/ui/SwaggerUiHome.java
@@ -62,7 +62,7 @@ public class SwaggerUiHome {
62
* @param optionalWebFluxProperties the optional web flux properties
63
*/
64
public SwaggerUiHome(Optional<WebFluxProperties> optionalWebFluxProperties) {
65
- optionalWebFluxProperties.ifPresent(webFluxProperties -> this.basePath = webFluxProperties.getBasePath());
+ optionalWebFluxProperties.ifPresent(webFluxProperties -> this.basePath = StringUtils.defaultIfEmpty(webFluxProperties.getBasePath(),StringUtils.EMPTY ));
66
}
67
68
/**
0 commit comments