forked from wcandillon/swagger-js-codegen
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
Justification
Right now only Mustache is supported, I can see the benefits of the template language. It's just a little bit off putting for people how doesn't know it that well to build custom templates.
I don't consider this important, just would like to open a discussion around it.
API Proposal
There are already a something building on top of this, building this up more to be able to handle more abstract types would make it easy to solve.
I am not sure what the design reason behind having the default templates inside the transform
code, it would be nice to move that out of there.
https://github.com/mtennoe/swagger-typescript-codegen/blob/master/src/transform/transformToCodeWithMustache.ts#L40-L52
Considerations
- Easier to maintain.
- Easier for new people.