Skip to content

[typescript-angular2] Handle date type correctly #3105

@taxpon

Description

@taxpon
Description
  • As mentioned in Typescript: Dates Are Not Deserialized #2776, typescript clients do not handle date type correctly.
  • I think api clients should convert ISO8601 string into Date object when receiving request, convert Date object into ISO8601 string when sending request.
Swagger-codegen version

2.2.0-SNAPSHOT

Related issues

#2776, #2030

Suggest a Fix

I am thinking updating of api.mustache of typescript-angular2. If it's ok, I'll create PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions