From f3ebb24c9a7834fa7b1420fe8bf0d786eb954cff Mon Sep 17 00:00:00 2001 From: bnasslahsen Date: Sun, 7 Jun 2020 18:54:16 +0200 Subject: [PATCH] code review --- .../main/java/org/springdoc/core/SwaggerUiConfigProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java b/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java index 8f9e349a4..8fb0fdb92 100644 --- a/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java +++ b/springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java @@ -217,7 +217,7 @@ public Map getConfigParameters() { SpringDocPropertiesUtils.put("tagsSorter", tagsSorter, params); if (!CollectionUtils.isEmpty(supportedSubmitMethods)) SpringDocPropertiesUtils.put("supportedSubmitMethods", supportedSubmitMethods.toString(), params); - SpringDocPropertiesUtils.put("oauth2RedirectUrl", oauth2RedirectUrl, params); + SpringDocPropertiesUtils.put(OAUTH2_REDIRECT_URL_PROPERTY, oauth2RedirectUrl, params); SpringDocPropertiesUtils.put("url", url, params); put(URLS_PROPERTY, urls, params); SpringDocPropertiesUtils.put("urls.primaryName", urlsPrimaryName, params);