cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
397 stars 132 forks source link

fix: remove HttpClientModule #21

Closed RGunning closed 5 years ago

RGunning commented 5 years ago

Remove HTTPClientModule and replace with a constructor check.

HTTPClientModule should only be declared once in a project. By removing the import and replacing with a constructor check, there is more flexibility in the import structure of the module.

Breaking Change

HttpClientModule no imported by the module