Closed scipilot closed 5 years ago
Awesome! Really appreciate. I'm gonna merge it, but gonna do a change on it immediately after.
I'm gonna change the signature of the helpers as follows:
module.exports = (Handlebars, _) => {
};
The reason is that Underscore is not actually needed for registering a Handlebars helper. It's needed for the default helpers and it's good to leave it there for backward compatibility, but could be removed in future versions.
Thank you very much!
It's already on npm: https://www.npmjs.com/package/openapi3-generator.
Great. Glad to help - I learned something.
re. Issue https://github.com/fmvilas/openapi3-generator/issues/6
Note most of the diffs to the templates are whitespace as I indented them. The changes are really just: