swagger-codegen-generators icon indicating copy to clipboard operation
swagger-codegen-generators copied to clipboard

How to register helpers in handlebars?

Open 4n70w4 opened this issue 4 years ago • 1 comments

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.

4n70w4 avatar Sep 13 '21 20:09 4n70w4

I would love to see ConditionalHelpers and StringHelpers beeing enabled globally. The only template that registers these helpers seems to be the kotlin generator

CBeloch avatar Aug 11 '22 12:08 CBeloch