Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #4330
Closed
Open
Issue created Oct 30, 2019 by Administrator@rootContributor

[BUG][typescript-angular] Type mapping from DateTime to string causes build error

Created by: malymato

I encountered the same issue on v 4.1.3 as described here: https://github.com/OpenAPITools/openapi-generator/issues/2745

When using a type mapping from DateTime to string, generated code contains lines such as queryParameters = queryParameters.set('dateFrom', <any>dateFrom.toISOString());, which causes build failure.

This was fixed for typescript-axios generator, but the issue is still present in typescript-angular. I'd like to open a PR with a fix.

Assignee
Assign to
Time tracking