File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
modules/swagger-codegen/src/main/java/io/swagger/codegen/v3 Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public interface CodegenConfig {
129
129
130
130
Mustache .Compiler processCompiler (Mustache .Compiler compiler );
131
131
132
- // TemplateEngine getTemplateEngine();
132
+ TemplateEngine getTemplateEngine ();
133
133
134
134
String sanitizeTag (String tag );
135
135
Original file line number Diff line number Diff line change 1
1
package io .swagger .codegen .v3 ;
2
2
3
- import com .github .jknack .handlebars .Handlebars ;
4
- import com .github .jknack .handlebars .io .ClassPathTemplateLoader ;
5
- import com .github .jknack .handlebars .io .FileTemplateLoader ;
6
- import com .github .jknack .handlebars .io .TemplateLoader ;
7
3
import io .swagger .codegen .v3 .ignore .CodegenIgnoreProcessor ;
8
- import io .swagger .codegen .v3 .templates .HandlebarTemplateEngine ;
9
4
import io .swagger .codegen .v3 .templates .TemplateEngine ;
10
5
import io .swagger .codegen .v3 .utils .ImplementationVersion ;
11
6
import io .swagger .codegen .v3 .utils .URLPathUtil ;
@@ -95,8 +90,7 @@ public Generator opts(ClientOptInput opts) {
95
90
this .ignoreProcessor = new CodegenIgnoreProcessor (this .config .getOutputDir ());
96
91
}
97
92
98
- // this.templateEngine = config.getTemplateEngine();
99
- this .templateEngine = new HandlebarTemplateEngine (config );
93
+ this .templateEngine = config .getTemplateEngine ();
100
94
101
95
return this ;
102
96
}
You can’t perform that action at this time.
0 commit comments