UNPKG

swagger-node-codegen

Version:

An OpenAPI 3.x/Swagger 2 code generator for Node.js

16 lines (13 loc) 345 B
function handlebarsExt(Handlebars) { // Create a file in your project like this and put your handlebars extensions in here // include it with the -b directive // // // /** // * Function to output the word "bar" // */ // Handlebars.registerHelper('foo', () => { // return "bar"; // }); } module.exports = handlebarsExt;