/* tslint:disable */
import { Injectable } from '@angular/core';
import {
  HttpClient, HttpRequest, HttpResponse, 
  HttpHeaders, HttpParams } from '@angular/common/http';
import { BaseService } from '../base-service';
import { ApiConfiguration } from '../api-configuration';
import { Observable } from 'rxjs/Observable';
import { map } from 'rxjs/operators/map';
import { filter } from 'rxjs/operators/filter';

{{#serviceDependencies}}import { {{modelName}} } from '../models/{{modelFile}}';
{{/serviceDependencies}}
{{{serviceComments}}}@Injectable()
class {{serviceClass}} extends BaseService {
  constructor(
    config: ApiConfiguration,
    http: HttpClient
  ) {
    super(config, http);
  }
{{#serviceOperations}}{{>operationResponse}}{{>operationBody}}{{/serviceOperations}}
}

module {{serviceClass}} {
{{#serviceOperations}}{{#operationParamsClass}}
{{{operationParamsClassComments}}}export interface {{operationParamsClass}} {
{{#operationParameters}}
{{{paramComments}}}{{paramVar}}{{^paramRequired}}?{{/paramRequired}}: {{{paramType}}};
{{/operationParameters}}
  }
{{/operationParamsClass}}{{/serviceOperations}}
}

export { {{serviceClass}} }
/* tslint:disable */
import { Injectable } from '@angular/core';
import {
  HttpClient, HttpRequest, HttpResponse, 
  HttpHeaders, HttpParams } from '@angular/common/http';
import { BaseService } from '../base-service';
import { ApiConfiguration } from '../api-configuration';
import { Observable } from 'rxjs';
import { map, filter } from 'rxjs/operators';

{{#serviceDependencies}}import { {{modelName}} } from '../models/{{modelFile}}';
{{/serviceDependencies}}
{{{serviceComments}}}@Injectable()
class {{serviceClass}} extends BaseService {
  constructor(
    config: ApiConfiguration,
    http: HttpClient
  ) {
    super(config, http);
  }
{{#serviceOperations}}{{>operationResponse}}{{>operationBody}}{{/serviceOperations}}
}

module {{serviceClass}} {
{{#serviceOperations}}{{#operationParamsClass}}
{{{operationParamsClassComments}}}export interface {{operationParamsClass}} {
{{#operationParameters}}
{{{paramComments}}}{{paramVar}}{{^paramRequired}}?{{/paramRequired}}: {{{paramType}}};
{{/operationParameters}}
  }
{{/operationParamsClass}}{{/serviceOperations}}
}

export { {{serviceClass}} }

Update RxJs operators and inputs to v6
Update RxJs operators and inputs to v6