openapi-ts-generator 5.221.2 → 5.221.3

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.
@@ -169,6 +169,9 @@ var OpenApiDocConverter = /** @class */ (function () {
169
169
  else if (typescriptType === 'boolean') {
170
170
  return 'false';
171
171
  }
172
+ else if (typescriptType === 'number') {
173
+ return '0';
174
+ }
172
175
  else {
173
176
  return "''";
174
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-ts-generator",
3
- "version": "5.221.2",
3
+ "version": "5.221.3",
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",