mesh-model-generator
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -426,3 +426,3 @@ "use strict"; | ||
TypescriptModelRenderer.prototype.generateModelName = function (schemaRef) { | ||
var shortName = schemaRef.replace(/^urn:jsonschema:com:([a-z]+:)*/, ''); | ||
var shortName = schemaRef.replace(/^urn:jsonschema:([a-z]+:)*/, ''); | ||
return this.formatModelName(shortName, schemaRef); | ||
@@ -429,0 +429,0 @@ }; |
@@ -301,3 +301,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
generateModelName(schemaRef) { | ||
const shortName = schemaRef.replace(/^urn:jsonschema:com:([a-z]+:)*/, ''); | ||
const shortName = schemaRef.replace(/^urn:jsonschema:([a-z]+:)*/, ''); | ||
return this.formatModelName(shortName, schemaRef); | ||
@@ -304,0 +304,0 @@ } |
{ | ||
"name": "mesh-model-generator", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Generate model interfaces from Gentics Mesh RAML declarations", | ||
@@ -5,0 +5,0 @@ "author": "Leon Adler <l.adler@gentics.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
335883