Skip to content

Commit 2e879c4

Browse files
authored
Update DefaultGenerator.java
Fix lines change tabs to spaces
1 parent fa27183 commit 2e879c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ void configureGeneratorProperties() {
269269
contextPath = removeTrailingSlash(config.escapeText(url.getPath())); // for backward compatibility
270270
basePathWithoutHost = contextPath;
271271
if (URLPathUtils.isRelativeUrl(openAPI.getServers())) {
272-
basePath = removeTrailingSlash(basePathWithoutHost);
272+
basePath = removeTrailingSlash(basePathWithoutHost);
273273
} else {
274-
basePath = removeTrailingSlash(config.escapeText(URLPathUtils.getHost(openAPI, config.serverVariableOverrides())));
274+
basePath = removeTrailingSlash(config.escapeText(URLPathUtils.getHost(openAPI, config.serverVariableOverrides())));
275275
}
276276
}
277277

0 commit comments

Comments
 (0)