Skip to content

Commit

Permalink
swagger-initializer.js is sent endcoded in the JVM's default charset. F…
Browse files Browse the repository at this point in the history
…ixes #2207
  • Loading branch information
bnasslahsen committed May 1, 2023
1 parent 8b125d0 commit 9978ced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ else if (swaggerUiConfig.getCsrf().isUseSessionStorage())
if (swaggerUiConfig.isDisableSwaggerDefaultUrl())
html = overwriteSwaggerDefaultUrl(html);

if(StringUtils.isNotEmpty(swaggerUiConfig.getUrl())){
if(StringUtils.isNotEmpty(swaggerUiConfig.getUrl()) && StringUtils.isEmpty(swaggerUiConfig.getConfigUrl())){
html = setConfiguredApiDocsUrl(html);
}

Expand Down

0 comments on commit 9978ced

Please sign in to comment.