@@ -7,4 +7,2 @@ var originalParser, schema2groovy, utilSchemas; | ||
| console.log(schema2groovy); | ||
| originalParser = schema2groovy.parser; | ||
@@ -11,0 +9,0 @@ |
@@ -5,3 +5,3 @@ package {{extra.package}} | ||
| import java.util.List | ||
| import java.util.Map | ||
| import java.util.Map{{debug extra}} | ||
| {{#if extra.importPojos}}import {{extra.importPojos}}.*{{/if}} | ||
@@ -8,0 +8,0 @@ |
| module.exports.helpers = function() { | ||
| return [ | ||
| { | ||
| name: 'debug', | ||
| fn: function(optionalValue) { | ||
| console.log("Current Context"); | ||
| return { | ||
| 'debug': function(optionalValue) { | ||
| console.log("Current Context"); | ||
| console.log("===================="); | ||
| console.log(this); | ||
| if (optionalValue) { | ||
| console.log("Value"); | ||
| console.log("===================="); | ||
| console.log(this); | ||
| if (optionalValue) { | ||
| console.log("Value"); | ||
| console.log("===================="); | ||
| console.log(optionalValue); | ||
| } | ||
| console.log(optionalValue); | ||
| } | ||
| } | ||
| ]; | ||
| }; | ||
| }; |
+1
-1
| { | ||
| "name": "raml2code", | ||
| "version": "0.8.40", | ||
| "version": "0.8.41", | ||
| "description": "Raml spec to code", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+1
-1
@@ -92,3 +92,3 @@ # Raml to code generator | ||
| ## And example of project could be found here: | ||
| [raml2codeFullSpringExample](https://github.com/atomsfat/raml2codeFullSpringExample) | ||
| [raml2code-Example](https://github.com/atomsfat/raml2code-example) | ||
@@ -95,0 +95,0 @@ |
32829
-0.24%723
-0.55%