Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

import org.apache.commons.lang3.StringUtils;

import org.springdoc.core.utils.SpringDocPropertiesUtils;
Copy link
Contributor

@Mattias-Sehlstedt Mattias-Sehlstedt Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import should not be necessary given that the full path is used still (or it might be nicer to have the import and remove the full path?)

Copy link
Author

@souravCoder1 souravCoder1 Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, we can remove

import org.springframework.util.CollectionUtils;

import static org.springframework.util.AntPathMatcher.DEFAULT_PATH_SEPARATOR;
Expand Down Expand Up @@ -289,7 +290,8 @@ public Map<String, Object> getConfigParameters() {
if (supportedSubmitMethods != null)
org.springdoc.core.utils.SpringDocPropertiesUtils.put("supportedSubmitMethods", supportedSubmitMethods, params);
org.springdoc.core.utils.SpringDocPropertiesUtils.put(OAUTH2_REDIRECT_URL_PROPERTY, oauth2RedirectUrl, params);
org.springdoc.core.utils.SpringDocPropertiesUtils.put(URL_PROPERTY, url, params);
if (CollectionUtils.isEmpty(urls))
org.springdoc.core.utils.SpringDocPropertiesUtils.put(URL_PROPERTY, url, params);
put(URLS_PROPERTY, urls, params);
org.springdoc.core.utils.SpringDocPropertiesUtils.put("urls.primaryName", urlsPrimaryName, params);
org.springdoc.core.utils.SpringDocPropertiesUtils.put(TRY_IT_ENABLED_PROPERTY, tryItOutEnabled, params);
Expand Down
Loading