-
-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
Description
Describe the bug.
The Typescript generator does not respect the
{ "type": "string", "format": "date-time" }The output is expected to be
deliveryDate: Date;Instead it is generated as:
deliveryDate: string;The issue looks similar to [https://github.com//issues/1607](This Issue) but is Typescript-related
Expected behavior
The Date type should generated and not a string
Screenshots
How to Reproduce
- Use a schema with a property defined as { "type": "string", "format": "date-time" }
- run
npx modelina generate typescript ... - inspect the generated output's class/interface
🥦 Browser
None
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
None
Reactions are currently unavailable

