openapi-ts-generator 6.53.2 → 6.170.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.
- package/openapidoc-converter.js +1 -1
- package/package.json +1 -1
package/openapidoc-converter.js
CHANGED
|
@@ -300,7 +300,7 @@ var OpenApiDocConverter = /** @class */ (function () {
|
|
|
300
300
|
else if (schemaWrapperInfo.propertySchemaObject.type === 'integer') {
|
|
301
301
|
return 'number';
|
|
302
302
|
}
|
|
303
|
-
else if (schemaWrapperInfo.propertySchemaObject.format === 'date-time') {
|
|
303
|
+
else if (schemaWrapperInfo.propertySchemaObject.format === 'date' || schemaWrapperInfo.propertySchemaObject.format === 'date-time') {
|
|
304
304
|
return 'Date';
|
|
305
305
|
}
|
|
306
306
|
return schemaWrapperInfo.propertySchemaObject.type || 'string';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-ts-generator",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.170.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",
|