File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
modules/swagger-codegen/src/main/java/io/swagger/codegen/v3 Expand file tree Collapse file tree 2 files changed +4
-2
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 5
5
import com .github .jknack .handlebars .io .FileTemplateLoader ;
6
6
import com .github .jknack .handlebars .io .TemplateLoader ;
7
7
import io .swagger .codegen .v3 .ignore .CodegenIgnoreProcessor ;
8
+ import io .swagger .codegen .v3 .templates .HandlebarTemplateEngine ;
8
9
import io .swagger .codegen .v3 .templates .TemplateEngine ;
9
10
import io .swagger .codegen .v3 .utils .ImplementationVersion ;
10
11
import io .swagger .codegen .v3 .utils .URLPathUtil ;
@@ -94,7 +95,8 @@ public Generator opts(ClientOptInput opts) {
94
95
this .ignoreProcessor = new CodegenIgnoreProcessor (this .config .getOutputDir ());
95
96
}
96
97
97
- this .templateEngine = config .getTemplateEngine ();
98
+ // this.templateEngine = config.getTemplateEngine();
99
+ this .templateEngine = new HandlebarTemplateEngine (config );
98
100
99
101
return this ;
100
102
}
You can’t perform that action at this time.
0 commit comments