File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,9 @@ protected UriComponentsBuilder getUriComponentsBuilder(String sbUrl) {
139
139
uriBuilder .queryParam (SwaggerUiConfigParameters .CONFIG_URL_PROPERTY , swaggerUiConfigParameters .getConfigUrl ());
140
140
if (StringUtils .isNotEmpty (swaggerUiConfigParameters .getLayout ()))
141
141
uriBuilder .queryParam (SwaggerUiConfigParameters .LAYOUT_PROPERTY , swaggerUiConfigParameters .getLayout ());
142
- if (StringUtils . isNotEmpty ( swaggerUiConfigParameters .getFilter ()))
142
+ if (swaggerUiConfigParameters .getFilter () != null ) {
143
143
uriBuilder .queryParam (SwaggerUiConfigParameters .FILTER_PROPERTY , swaggerUiConfigParameters .getFilter ());
144
+ }
144
145
}
145
146
return uriBuilder ;
146
147
}
You can’t perform that action at this time.
0 commit comments