Skip to content

Custom template#60

Merged
js2me merged 5 commits intoacacode:nextfrom
andrefilimono:feature/custom-templates
Jun 26, 2020
Merged

Custom template#60
js2me merged 5 commits intoacacode:nextfrom
andrefilimono:feature/custom-templates

Conversation

@andrefilimono
Copy link
Contributor

@andrefilimono andrefilimono commented Jun 25, 2020

This feature (closes #54) enables users to generate models and a client by providing path to a directory containing custom templates using a new CLI parameter -t --template.
It's also allows us to skip unnecessary templates if generating of a client or route types is not needed.

@js2me js2me changed the base branch from master to next June 25, 2020 20:15
@js2me js2me changed the base branch from next to master June 25, 2020 20:24
@js2me js2me changed the base branch from master to next June 25, 2020 20:24
@js2me
Copy link
Member

js2me commented Jun 26, 2020

@andrefilimono Thank you for this PR with a nice feature!

@js2me js2me merged commit 72733ee into acacode:next Jun 26, 2020
js2me pushed a commit that referenced this pull request Jun 26, 2020
* feat: allow to provide custom templates

* docs: update readme

* internal: add manual test script for custom templates option

* feat: resolving paths to templates

* internal: adjust test for custom templates

Co-authored-by: svolkov <svolkov@everpoint.ru>
Co-authored-by: andrefilimono <andrefilimono@gmail.com>
js2me added a commit that referenced this pull request Jun 26, 2020
* Custom template (#60)

* feat: allow to provide custom templates

* internal: add manual test script for custom templates option

* feat: resolving paths to templates

* internal: adjust test for custom templates

Co-authored-by: Volkov Sergey <js2me@outlook.com>
Co-authored-by: Filimonov Andrey <andrefilimono@gmail.com>

* [Feature] `--union-enums` CLI option (#61)

* feat: add --union-enums cli option which generate all enums as union types

* docs: update README, CHANGELOG

* chore(fix): manual test for union enums option

* docs: update CHANGELOG; bump: up version to 1.10.0

Co-authored-by: Filimonov Andrey <andrefilimono@gmail.com>
@andrefilimono andrefilimono deleted the feature/custom-templates branch June 27, 2020 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Templates

2 participants