raml-generator
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -118,2 +118,3 @@ var sanitizeUri = require('./uri') | ||
var uriParameters = Array.prototype.map.call(matches, getParamTag) | ||
var relativeUri = toUriFormat(part, spec) | ||
@@ -125,4 +126,8 @@ obj = obj.children[key] = { | ||
children: {}, | ||
relativeUri: toUriFormat(part, spec), | ||
uriParameters: uriParameters | ||
absoluteUri: obj.absoluteUri + relativeUri, | ||
relativeUri: relativeUri, | ||
originalRelativeUri: part, | ||
originalAbsoluteUri: obj.originalAbsoluteUri + part, | ||
uriParameters: uriParameters, | ||
absoluteUriParameters: obj.absoluteUriParameters.concat(uriParameters) | ||
} | ||
@@ -168,3 +173,7 @@ } | ||
relativeUri: '', | ||
uriParameters: [] | ||
absoluteUri: '', | ||
originalRelativeUri: '', | ||
originalAbsoluteUri: '', | ||
uriParameters: [], | ||
absoluteUriParameters: [] | ||
} | ||
@@ -171,0 +180,0 @@ |
{ | ||
"name": "raml-generator", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Generate files from a RAML document and Handlebars templates", | ||
@@ -5,0 +5,0 @@ "main": "raml-generator.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24221
739