openapi-gen-typescript
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -67,3 +67,3 @@ "use strict"; | ||
if (jsonSchema.includes('[]')) { | ||
jsonSchema = jsonSchema.replace(/[\(\)\[\]]+/g, ''); | ||
jsonSchema = jsonSchema.replace(/\(|\)|(\[\])+/g, ''); | ||
responseTypeNames.push(`${responseTypeName}[]`); | ||
@@ -70,0 +70,0 @@ } |
{ | ||
"name": "openapi-gen-typescript", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -101,3 +101,3 @@ // @ts-ignore | ||
if (jsonSchema.includes('[]')) { | ||
jsonSchema = jsonSchema.replace(/[\(\)\[\]]+/g, ''); | ||
jsonSchema = jsonSchema.replace(/\(|\)|(\[\])+/g, ''); | ||
responseTypeNames.push(`${responseTypeName}[]`); | ||
@@ -104,0 +104,0 @@ } else { |
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
63928