2.2.0
Templates support added.
Now is customizable!
Added
- Issue #3 - Custom templates: Now you can create a custom template and use it without modify the source code.
- Issue #6 - Custom enums mapping: As part of a template, enums are configurable.
- Issue #7 - Default templates support. Now current template is named
angular2, so you must to add-t angular2to youcli script
transform-swagger -f ...json -o src/generatedApi/ -t angular2ConfigModelclassTemplateConfigModelclass
Changed
- Output folders now are retrieved from ConfigModel.
- Now
templateis required as parameter. - Default type added.
Yargs(arguments) are not read directly, are parsed toConfigModel.