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 6bc2ae4bc02..718a8b88549 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}} @@ -347,10 +347,10 @@ export class {{classname}} { params: queryParameters, {{/hasQueryParams}} {{#isResponseFile}} - responseType_: "blob", + 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 8604d61ade8..c6125084a2d 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 925343a67a6..a6065292a6d 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 f5c80644273..da1199c86d4 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 8604d61ade8..c6125084a2d 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 925343a67a6..a6065292a6d 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 f5c80644273..da1199c86d4 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 8604d61ade8..c6125084a2d 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 925343a67a6..a6065292a6d 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 f5c80644273..da1199c86d4 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 8604d61ade8..c6125084a2d 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 925343a67a6..a6065292a6d 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 f5c80644273..da1199c86d4 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 298225fb989..8552f9cb4e5 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 9792749bf99..b44e765a0fa 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 bee58cc193c..326c0f7b873 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 d399496e6d1..0975398771b 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 b607b5c6200..1ca9d2fc346 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 d0eb38bbadd..a7907628958 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 62f7d66256a..b5796e6ddca 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 8abaffa19f6..a5f3801ba4b 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 3e66e91c7a1..110c576b78a 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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 c61c76a4a7e..46fef0be89f 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 b2cc6fb9078..d5d08ab3adc 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 87e747bcfca..39967621905 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,