You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2019. It is now read-only.
grunt.initConfig({'swagger-js-codegen': {queries: {options: {apis: [{swagger: 'swagger/_queries',className: 'Model',moduleName: 'Model'// This is the model and file name}],dest: 'lib'},dist: {}}}});
grunt.initConfig({'swagger-js-codegen': {queries: {options: {apis: [{swagger: 'swagger/_queries',className: 'Model',moduleName: 'Model',// This is the model and file nameangularjs: true}],dest: 'lib'},dist: {}}}});
###Custom generation
grunt.initConfig({'swagger-js-codegen': {queries: {options: {apis: [{swagger: 'swagger/_queries.json',moduleName: 'Model'// This is the file nameclassName: 'Model',mustache: {moduleName: 'Model'// This is the model name - it should be repeated here if you want to use it in mustache templatescustomParam: 'foo'//some custom param used in mustache templates},template: {class: 'custom-angular-class.mustache',method: 'custom-method.mustache',request: 'custom-angular-request.mustache'},custom : true}],dest: 'lib'},dist: {}}}});