@@ -32,13 +32,13 @@ namespace API.Client {
32
32
* @param body Pet object that needs to be added to the store
33
33
*/
34
34
public updatePet ( body ?: Pet , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
35
- const path = this . basePath + '/pet' ;
35
+ const localVarPath = this . basePath + '/pet' ;
36
36
37
37
let queryParameters : any = { } ;
38
38
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
39
39
let httpRequestParams : any = {
40
40
method : 'PUT' ,
41
- url : path ,
41
+ url : localVarPath ,
42
42
json : true ,
43
43
data : body ,
44
44
@@ -59,13 +59,13 @@ namespace API.Client {
59
59
* @param body Pet object that needs to be added to the store
60
60
*/
61
61
public addPet ( body ?: Pet , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
62
- const path = this . basePath + '/pet' ;
62
+ const localVarPath = this . basePath + '/pet' ;
63
63
64
64
let queryParameters : any = { } ;
65
65
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
66
66
let httpRequestParams : any = {
67
67
method : 'POST' ,
68
- url : path ,
68
+ url : localVarPath ,
69
69
json : true ,
70
70
data : body ,
71
71
@@ -82,11 +82,11 @@ namespace API.Client {
82
82
}
83
83
/**
84
84
* Finds Pets by status
85
- * Multiple status values can be provided with comma seperated strings
86
- * @param status Status values that need to be considered for filter
85
+ * Multiple status values can be provided with comma separated strings
86
+ * @param status Status values that need to be considered for query
87
87
*/
88
88
public findPetsByStatus ( status ?: Array < string > , extraHttpRequestParams ?: any ) : ng . IHttpPromise < Array < Pet > > {
89
- const path = this . basePath + '/pet/findByStatus' ;
89
+ const localVarPath = this . basePath + '/pet/findByStatus' ;
90
90
91
91
let queryParameters : any = { } ;
92
92
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
@@ -96,7 +96,7 @@ namespace API.Client {
96
96
97
97
let httpRequestParams : any = {
98
98
method : 'GET' ,
99
- url : path ,
99
+ url : localVarPath ,
100
100
json : true ,
101
101
102
102
@@ -116,7 +116,7 @@ namespace API.Client {
116
116
* @param tags Tags to filter by
117
117
*/
118
118
public findPetsByTags ( tags ?: Array < string > , extraHttpRequestParams ?: any ) : ng . IHttpPromise < Array < Pet > > {
119
- const path = this . basePath + '/pet/findByTags' ;
119
+ const localVarPath = this . basePath + '/pet/findByTags' ;
120
120
121
121
let queryParameters : any = { } ;
122
122
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
@@ -126,7 +126,7 @@ namespace API.Client {
126
126
127
127
let httpRequestParams : any = {
128
128
method : 'GET' ,
129
- url : path ,
129
+ url : localVarPath ,
130
130
json : true ,
131
131
132
132
@@ -146,7 +146,7 @@ namespace API.Client {
146
146
* @param petId ID of pet that needs to be fetched
147
147
*/
148
148
public getPetById ( petId : number , extraHttpRequestParams ?: any ) : ng . IHttpPromise < Pet > {
149
- const path = this . basePath + '/pet/{petId}'
149
+ const localVarPath = this . basePath + '/pet/{petId}'
150
150
. replace ( '{' + 'petId' + '}' , String ( petId ) ) ;
151
151
152
152
let queryParameters : any = { } ;
@@ -157,7 +157,7 @@ namespace API.Client {
157
157
}
158
158
let httpRequestParams : any = {
159
159
method : 'GET' ,
160
- url : path ,
160
+ url : localVarPath ,
161
161
json : true ,
162
162
163
163
@@ -179,7 +179,7 @@ namespace API.Client {
179
179
* @param status Updated status of the pet
180
180
*/
181
181
public updatePetWithForm ( petId : string , name ?: string , status ?: string , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
182
- const path = this . basePath + '/pet/{petId}'
182
+ const localVarPath = this . basePath + '/pet/{petId}'
183
183
. replace ( '{' + 'petId' + '}' , String ( petId ) ) ;
184
184
185
185
let queryParameters : any = { } ;
@@ -198,7 +198,7 @@ namespace API.Client {
198
198
199
199
let httpRequestParams : any = {
200
200
method : 'POST' ,
201
- url : path ,
201
+ url : localVarPath ,
202
202
json : false ,
203
203
204
204
data : this . $httpParamSerializer ( formParams ) ,
@@ -220,7 +220,7 @@ namespace API.Client {
220
220
* @param apiKey
221
221
*/
222
222
public deletePet ( petId : number , apiKey ?: string , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
223
- const path = this . basePath + '/pet/{petId}'
223
+ const localVarPath = this . basePath + '/pet/{petId}'
224
224
. replace ( '{' + 'petId' + '}' , String ( petId ) ) ;
225
225
226
226
let queryParameters : any = { } ;
@@ -233,7 +233,7 @@ namespace API.Client {
233
233
234
234
let httpRequestParams : any = {
235
235
method : 'DELETE' ,
236
- url : path ,
236
+ url : localVarPath ,
237
237
json : true ,
238
238
239
239
@@ -255,7 +255,7 @@ namespace API.Client {
255
255
* @param file file to upload
256
256
*/
257
257
public uploadFile ( petId : number , additionalMetadata ?: string , file ?: any , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
258
- const path = this . basePath + '/pet/{petId}/uploadImage'
258
+ const localVarPath = this . basePath + '/pet/{petId}/uploadImage'
259
259
. replace ( '{' + 'petId' + '}' , String ( petId ) ) ;
260
260
261
261
let queryParameters : any = { } ;
@@ -274,7 +274,7 @@ namespace API.Client {
274
274
275
275
let httpRequestParams : any = {
276
276
method : 'POST' ,
277
- url : path ,
277
+ url : localVarPath ,
278
278
json : false ,
279
279
280
280
data : this . $httpParamSerializer ( formParams ) ,
@@ -294,19 +294,19 @@ namespace API.Client {
294
294
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
295
295
* @param petId ID of pet that needs to be fetched
296
296
*/
297
- public getPetByIdWithByteArray ( petId : number , extraHttpRequestParams ?: any ) : ng . IHttpPromise < string > {
298
- const path = this . basePath + '/pet/{petId}?testing_byte_array=true'
297
+ public petPetIdtestingByteArraytrueGet ( petId : number , extraHttpRequestParams ?: any ) : ng . IHttpPromise < string > {
298
+ const localVarPath = this . basePath + '/pet/{petId}?testing_byte_array=true'
299
299
. replace ( '{' + 'petId' + '}' , String ( petId ) ) ;
300
300
301
301
let queryParameters : any = { } ;
302
302
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
303
303
// verify required parameter 'petId' is set
304
304
if ( ! petId ) {
305
- throw new Error ( 'Missing required parameter petId when calling getPetByIdWithByteArray ' ) ;
305
+ throw new Error ( 'Missing required parameter petId when calling petPetIdtestingByteArraytrueGet ' ) ;
306
306
}
307
307
let httpRequestParams : any = {
308
308
method : 'GET' ,
309
- url : path ,
309
+ url : localVarPath ,
310
310
json : true ,
311
311
312
312
@@ -326,13 +326,13 @@ namespace API.Client {
326
326
* @param body Pet object in the form of byte array
327
327
*/
328
328
public addPetUsingByteArray ( body ?: string , extraHttpRequestParams ?: any ) : ng . IHttpPromise < { } > {
329
- const path = this . basePath + '/pet?testing_byte_array=true' ;
329
+ const localVarPath = this . basePath + '/pet?testing_byte_array=true' ;
330
330
331
331
let queryParameters : any = { } ;
332
332
let headerParams : any = this . extendObj ( { } , this . defaultHeaders ) ;
333
333
let httpRequestParams : any = {
334
334
method : 'POST' ,
335
- url : path ,
335
+ url : localVarPath ,
336
336
json : true ,
337
337
data : body ,
338
338
0 commit comments