wcandillon/swagger-js-codegen

Support Typescript 'type' template

bartlomn opened this issue · 1 comments

Given:

CodeGen.getTypescriptCode({
     template: {
          class: fs.readFileSync('./my-class.mustache', 'utf-8'),
          method: fs.readFileSync('./my-method.mustache', 'utf-8'),
          type: fs.readFileSync('./my-type.mustache', 'utf-8')
}});

Expected:
typescript types are generated using custom my-type.mustache template

Actual:
Default templates are used

This can be closed now due to 941d04e landing, right?