Skip to content

Commit 6207696

Browse files
author
bnasslahsen
committed
Cannot disable Try it out button. Fxies #844.
1 parent 3ea72c6 commit 6207696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public Map<String, Object> getConfigParameters() {
196196
SpringDocPropertiesUtils.put("showCommonExtensions", showCommonExtensions, params);
197197
SpringDocPropertiesUtils.put("operationsSorter", operationsSorter, params);
198198
SpringDocPropertiesUtils.put("tagsSorter", tagsSorter, params);
199-
if (!CollectionUtils.isEmpty(supportedSubmitMethods))
199+
if (supportedSubmitMethods!=null)
200200
SpringDocPropertiesUtils.put("supportedSubmitMethods", supportedSubmitMethods.toString(), params);
201201
SpringDocPropertiesUtils.put(OAUTH2_REDIRECT_URL_PROPERTY, oauth2RedirectUrl, params);
202202
SpringDocPropertiesUtils.put("url", url, params);

0 commit comments

Comments
 (0)