-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[BUG] [typescript-angular] Angular 8: generated package.json includes @angular/http
dependency
#3460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
@daniel-sc would you like to file a PR to fix that? |
you could use the Lines 5 to 15 in a3cf964
|
@macjohnny I have a fix for that ready, I can submit a pr in a few |
@eseliger that would be great! |
Bug Report Checklist
Description
When generating for
angular-typescript
and setting the Angular version to 8.x (e.g. 8.1.1) the generated package.json is invalid, as the included@angular/http
is not available in version 8.1.1.openapi-generator version
4.0.3
Steps to reproduce
Generate with
<ngVersion>8.1.1</ngVersion>
Suggest a fix
The dependency
@angular/http
should be removed from the generatedpackage.json
as it is now included in@angular/common
- see e.g.: https://blog.angularindepth.com/embrace-yourself-angular-8-is-coming-1bf187c8f0bfThe text was updated successfully, but these errors were encountered: