Description
The import of Observable in rxjs 6 is changed from previous versions. The typescript-angular generator should support the new version
Swagger-codegen version
3.0.2
Suggest a fix/enhancement
Taking any definition, the created services imports rxjs in this way:
import { Observable } from 'rxjs/Observable';
With rxjs 6, the correct way to import Observable is:
import { Observable } from 'rxjs';
This should be supported with a specific configuration flag, or when ngVersion is greater than 6.
Description
The import of Observable in rxjs 6 is changed from previous versions. The typescript-angular generator should support the new version
Swagger-codegen version
3.0.2
Suggest a fix/enhancement
Taking any definition, the created services imports rxjs in this way:
With rxjs 6, the correct way to import Observable is:
This should be supported with a specific configuration flag, or when ngVersion is greater than 6.