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.
2 parents 027f22e + 4631295 commit feb6ddbCopy full SHA for feb6ddb
modules/swagger-codegen/src/main/java/io/swagger/codegen/v3/DefaultGenerator.java
@@ -89,9 +89,6 @@ public Generator opts(ClientOptInput opts) {
89
if(this.ignoreProcessor == null) {
90
this.ignoreProcessor = new CodegenIgnoreProcessor(this.config.getOutputDir());
91
}
92
-
93
- this.templateEngine = config.getTemplateEngine();
94
95
return this;
96
97
@@ -200,6 +197,8 @@ private void configureGeneratorProperties() {
200
197
config.vendorExtensions().putAll(this.openAPI.getExtensions());
201
198
202
199
+ this.templateEngine = config.getTemplateEngine();
+
203
URL url = URLPathUtil.getServerURL(openAPI);
204
205
contextPath = config.escapeText(url == null ? StringUtils.EMPTY : url.getPath());
0 commit comments