forked from loafle/openapi-generator-original
[core] Skip 443 for port mustache tag (#7531)
This commit is contained in:
@@ -775,7 +775,7 @@ public class DefaultGenerator implements Generator {
|
||||
bundle.put("basePathWithoutHost", basePathWithoutHost);
|
||||
bundle.put("scheme", URLPathUtils.getScheme(url, config));
|
||||
bundle.put("host", url.getHost());
|
||||
if (url.getPort() != 80 ) {
|
||||
if (url.getPort() != 80 && url.getPort() != 443 ) {
|
||||
bundle.put("port", url.getPort());
|
||||
}
|
||||
bundle.put("contextPath", contextPath);
|
||||
|
||||
Reference in New Issue
Block a user