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 2e879c4 commit 05c6852Copy full SHA for 05c6852
1 file changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java
@@ -270,7 +270,7 @@ void configureGeneratorProperties() {
270
basePathWithoutHost = contextPath;
271
if (URLPathUtils.isRelativeUrl(openAPI.getServers())) {
272
basePath = removeTrailingSlash(basePathWithoutHost);
273
- } else {
+ } else {
274
basePath = removeTrailingSlash(config.escapeText(URLPathUtils.getHost(openAPI, config.serverVariableOverrides())));
275
}
276
0 commit comments