Skip to content
GitLab
    • Explore Projects Groups Snippets
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
  • #1506
Something went wrong while setting issue due date.
Closed
Open
Issue created 6 years ago by Administrator@rootContributor
  • New related issue

  • Report abuse to administrator

  • New related issue

  • Report abuse to administrator

[typescript-angular] outdated zone.js@^0.7.6 peer dependency

Closed

[typescript-angular] outdated zone.js@^0.7.6 peer dependency

Created by: d0x

Description

Using the generated client for a new angular 6 application will lead into this warning:

npm WARN my.lib requires a peer of zone.js@^0.7.6 but none is installed. You must install peer dependencies yourself.
openapi-generator version

3.3.3

Command line used for generation
java -jar openapi-generator.jar generate \
                    --skip-validate-spec \
                    --input-spec XXXX  \
                    --generator-name typescript-angular \
                    --output YYY \
                    --invoker-package ZZZ \
                    --additional-properties snapshot=false \
                    --additional-properties supportsES6=true \
                    --additional-properties modelPropertyNaming=camelCase \
                    --additional-properties ngVersion=6.1.1 \
                    --additional-properties withInterfaces=true \
                    --additional-properties providedInRoot=true \
                    --additional-properties useRxJS6=true
Suggest a fix/enhancement

I tried the generated client using Zone.js 0.8.26 and so far everything works fine. But I don't know the internals of it and when zone.js is really used. So I can't suggest a blind update to 0.8.xx. Furthermore I haven't found any compatibility notes between 0.7.xx and 0.8.xx.

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.
Tasks
0
server returned results with length 1, expected length of 9

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


Please register or sign in to reply
0 Assignees
None
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 participants
Reference:

Menu

Explore Projects Groups Snippets