diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache index 718a8b88549..8f66fcf6f9e 100644 --- a/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache @@ -334,9 +334,9 @@ export class {{classname}} { {{/hasFormParams}} {{^isResponseFile}} - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } {{/isResponseFile}} @@ -350,7 +350,7 @@ export class {{classname}} { responseType: "blob", {{/isResponseFile}} {{^isResponseFile}} - responseType: responseType, + responseType: responseType_, {{/isResponseFile}} withCredentials: this.configuration.withCredentials, headers: headers, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v10-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v11-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/pet.service.ts index c6125084a2d..ed90e6997ca 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/pet.service.ts @@ -141,15 +141,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -197,14 +197,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -257,15 +257,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,15 +319,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -374,14 +374,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -435,15 +435,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -511,15 +511,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -591,15 +591,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/store.service.ts index a6065292a6d..fa2273028cd 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/store.service.ts @@ -111,14 +111,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -160,14 +160,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -207,14 +207,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -261,15 +261,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts index da1199c86d4..b4620030f1e 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/default/api/user.service.ts @@ -119,15 +119,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -172,15 +172,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -225,15 +225,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -271,14 +271,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -317,14 +317,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -377,15 +377,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -418,14 +418,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -475,15 +475,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/pet.service.ts index c6125084a2d..ed90e6997ca 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/pet.service.ts @@ -141,15 +141,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -197,14 +197,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -257,15 +257,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,15 +319,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -374,14 +374,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -435,15 +435,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -511,15 +511,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -591,15 +591,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/store.service.ts index a6065292a6d..fa2273028cd 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/store.service.ts @@ -111,14 +111,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -160,14 +160,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -207,14 +207,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -261,15 +261,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts index da1199c86d4..b4620030f1e 100644 --- a/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-not-provided-in-root/builds/with-npm/api/user.service.ts @@ -119,15 +119,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -172,15 +172,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -225,15 +225,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -271,14 +271,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -317,14 +317,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -377,15 +377,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -418,14 +418,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -475,15 +475,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v6-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/pet.service.ts index c6125084a2d..ed90e6997ca 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/pet.service.ts @@ -141,15 +141,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -197,14 +197,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -257,15 +257,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,15 +319,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -374,14 +374,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -435,15 +435,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -511,15 +511,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -591,15 +591,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/store.service.ts index a6065292a6d..fa2273028cd 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/store.service.ts @@ -111,14 +111,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -160,14 +160,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -207,14 +207,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -261,15 +261,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts index da1199c86d4..b4620030f1e 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/default/api/user.service.ts @@ -119,15 +119,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -172,15 +172,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -225,15 +225,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -271,14 +271,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -317,14 +317,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -377,15 +377,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -418,14 +418,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -475,15 +475,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/pet.service.ts index c6125084a2d..ed90e6997ca 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/pet.service.ts @@ -141,15 +141,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -197,14 +197,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -257,15 +257,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,15 +319,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -374,14 +374,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -435,15 +435,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -511,15 +511,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -591,15 +591,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/store.service.ts index a6065292a6d..fa2273028cd 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/store.service.ts @@ -111,14 +111,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -160,14 +160,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -207,14 +207,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -261,15 +261,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts index da1199c86d4..b4620030f1e 100644 --- a/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-not-provided-in-root/builds/with-npm/api/user.service.ts @@ -119,15 +119,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -172,15 +172,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -225,15 +225,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -271,14 +271,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -317,14 +317,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -377,15 +377,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -418,14 +418,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -475,15 +475,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v7-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/pet.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/pet.service.ts index 8552f9cb4e5..6b578e21b03 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/pet.service.ts @@ -193,15 +193,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -250,14 +250,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -311,15 +311,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -374,15 +374,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -430,14 +430,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -492,15 +492,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -569,15 +569,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -650,15 +650,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/store.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/store.service.ts index b44e765a0fa..abce4984014 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/store.service.ts @@ -129,14 +129,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -178,14 +178,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -226,14 +226,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -281,15 +281,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts index 326c0f7b873..71fe4e00ca8 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/single-request-parameter/api/user.service.ts @@ -161,15 +161,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -215,15 +215,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -269,15 +269,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -316,14 +316,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -363,14 +363,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -424,15 +424,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -465,14 +465,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -523,15 +523,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/pet.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/pet.service.ts index 0975398771b..49c9abd5616 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/store.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/store.service.ts index 1ca9d2fc346..8fc7fb96077 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts index a7907628958..7fe91c765d3 100644 --- a/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v8-provided-in-root/builds/with-prefixed-module-name/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/pet.service.ts index b5796e6ddca..4aa8f7744b0 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/store.service.ts index a5f3801ba4b..0f92dfa8338 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/user.service.ts index 110c576b78a..075b99ad7b1 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-any/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/pet.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/store.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/default/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/pet.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/pet.service.ts index 46fef0be89f..086caf49ca0 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/pet.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/pet.service.ts @@ -143,15 +143,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -199,14 +199,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -259,15 +259,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByStatus`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -321,15 +321,15 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get>(`${this.configuration.basePath}/pet/findByTags`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -376,14 +376,14 @@ export class PetService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -437,15 +437,15 @@ export class PetService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/pet`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -513,15 +513,15 @@ export class PetService { formParams = formParams.append('status', status) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -593,15 +593,15 @@ export class PetService { formParams = formParams.append('file', file) as any || formParams; } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/pet/${encodeURIComponent(String(petId))}/uploadImage`, convertFormParamsToString ? formParams.toString() : formParams, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/store.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/store.service.ts index d5d08ab3adc..bba871aa56a 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/store.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/store.service.ts @@ -113,14 +113,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -162,14 +162,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get<{ [key: string]: number; }>(`${this.configuration.basePath}/store/inventory`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -209,14 +209,14 @@ export class StoreService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/store/order/${encodeURIComponent(String(orderId))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -263,15 +263,15 @@ export class StoreService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/store/order`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, diff --git a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts index 39967621905..f18f924de6c 100644 --- a/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts +++ b/samples/client/petstore/typescript-angular-v9-provided-in-root/builds/with-npm/api/user.service.ts @@ -121,15 +121,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -174,15 +174,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithArray`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -227,15 +227,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.post(`${this.configuration.basePath}/user/createWithList`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -273,14 +273,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.delete(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -319,14 +319,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -379,15 +379,15 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/login`, { params: queryParameters, - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -420,14 +420,14 @@ export class UserService { } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.get(`${this.configuration.basePath}/user/logout`, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe, @@ -477,15 +477,15 @@ export class UserService { headers = headers.set('Content-Type', httpContentTypeSelected); } - let responseType: 'text' | 'json' = 'json'; + let responseType_: 'text' | 'json' = 'json'; if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) { - responseType = 'text'; + responseType_ = 'text'; } return this.httpClient.put(`${this.configuration.basePath}/user/${encodeURIComponent(String(username))}`, body, { - responseType: responseType, + responseType: responseType_, withCredentials: this.configuration.withCredentials, headers: headers, observe: observe,