swagger-api / swagger-api/swagger-codegen-generators
How to register helpers in handlebars?
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 299
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
Hi! I want to use conditional helpers like eq, neq, lt, gt, and, or, not, etc., but its don't work.
https://github.com/jknack/handlebars.java#conditional-helpers
I mean globally for all generators. To use them in overridden templates.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked handlebars.java conditional-helpers documentation and trace how this project registers helpers for generators and overridden templates. Confirm whether the requested helpers can be registered globally, then document or implement the registration path and verify that conditional helpers work in overridden templates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- handlebars
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100