We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277c5ab commit e4f0b07Copy full SHA for e4f0b07
springdoc-openapi-common/src/main/java/org/springdoc/ui/AbstractSwaggerIndexTransformer.java
@@ -175,7 +175,7 @@ else if (swaggerUiConfig.getCsrf().isUseSessionStorage())
175
if (swaggerUiConfig.isDisableSwaggerDefaultUrl())
176
html = overwriteSwaggerDefaultUrl(html);
177
178
- if(StringUtils.isNotEmpty(swaggerUiConfig.getUrl())){
+ if(StringUtils.isNotEmpty(swaggerUiConfig.getUrl()) && StringUtils.isEmpty(swaggerUiConfig.getConfigUrl())){
179
html = setConfiguredApiDocsUrl(html);
180
}
181
return html;
0 commit comments