flowup / api-client-generator

Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
MIT License
115 stars 21 forks source link

Incompatible with Angular 10 #93

Closed Azuka closed 4 years ago

Azuka commented 4 years ago

The api client module generated needs a small fix in the template to support Angular 10, ie a change from

  static forRoot(config: APIClientModuleConfig = {}): ModuleWithProviders {

to

  static forRoot(config: APIClientModuleConfig = {}): ModuleWithProviders<APIClientModule> {

I'm opening a PR shortly to fix that.

vmasek commented 4 years ago

Thank you very much for the issue and PR 👍 I'll try to release a new version during the week.