openapi-ts-generator 5.227.4 → 5.227.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapidoc-converter.js +1 -1
- package/package.json +1 -1
package/openapidoc-converter.js
CHANGED
|
@@ -212,7 +212,7 @@ var OpenApiDocConverter = /** @class */ (function () {
|
|
|
212
212
|
return "'".concat(defaultValue.split(' ').pop(), "'");
|
|
213
213
|
}
|
|
214
214
|
else if (email) {
|
|
215
|
-
return "".concat((0, lodash_1.kebabCase)(parentTypeName), "@email.org");
|
|
215
|
+
return "'".concat((0, lodash_1.kebabCase)(parentTypeName), "@email.org'");
|
|
216
216
|
}
|
|
217
217
|
else if (typescriptType === 'Date') {
|
|
218
218
|
return 'new Date()';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-ts-generator",
|
|
3
|
-
"version": "5.227.
|
|
3
|
+
"version": "5.227.6",
|
|
4
4
|
"description": "Based on swagger-ts-generator, this is a type script model generator specifically for services with OpenApi spec documentation.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|