@@ -28,7 +28,7 @@ import { Configuration } from '../configurat
28
28
@Injectable ( )
29
29
export class PetService {
30
30
31
- protected basePath = 'https ://petstore.swagger.io/v2' ;
31
+ protected basePath = 'http ://petstore.swagger.io/v2' ;
32
32
public defaultHeaders = new HttpHeaders ( ) ;
33
33
public configuration = new Configuration ( ) ;
34
34
@@ -106,6 +106,7 @@ export class PetService {
106
106
return this . httpClient . post < any > ( `${ this . basePath } /pet` ,
107
107
body ,
108
108
{
109
+ // not text :(
109
110
withCredentials : this . configuration . withCredentials ,
110
111
headers : headers ,
111
112
observe : observe ,
@@ -161,6 +162,7 @@ export class PetService {
161
162
162
163
return this . httpClient . delete < any > ( `${ this . basePath } /pet/${ encodeURIComponent ( String ( petId ) ) } ` ,
163
164
{
165
+ // not text :(
164
166
withCredentials : this . configuration . withCredentials ,
165
167
headers : headers ,
166
168
observe : observe ,
@@ -217,6 +219,7 @@ export class PetService {
217
219
return this . httpClient . get < Array < Pet > > ( `${ this . basePath } /pet/findByStatus` ,
218
220
{
219
221
params : queryParameters ,
222
+ // not text :(
220
223
withCredentials : this . configuration . withCredentials ,
221
224
headers : headers ,
222
225
observe : observe ,
@@ -273,6 +276,7 @@ export class PetService {
273
276
return this . httpClient . get < Array < Pet > > ( `${ this . basePath } /pet/findByTags` ,
274
277
{
275
278
params : queryParameters ,
279
+ // not text :(
276
280
withCredentials : this . configuration . withCredentials ,
277
281
headers : headers ,
278
282
observe : observe ,
@@ -320,6 +324,7 @@ export class PetService {
320
324
321
325
return this . httpClient . get < Pet > ( `${ this . basePath } /pet/${ encodeURIComponent ( String ( petId ) ) } ` ,
322
326
{
327
+ // not text :(
323
328
withCredentials : this . configuration . withCredentials ,
324
329
headers : headers ,
325
330
observe : observe ,
@@ -377,6 +382,7 @@ export class PetService {
377
382
return this . httpClient . put < any > ( `${ this . basePath } /pet` ,
378
383
body ,
379
384
{
385
+ // not text :(
380
386
withCredentials : this . configuration . withCredentials ,
381
387
headers : headers ,
382
388
observe : observe ,
@@ -451,6 +457,7 @@ export class PetService {
451
457
return this . httpClient . post < any > ( `${ this . basePath } /pet/${ encodeURIComponent ( String ( petId ) ) } ` ,
452
458
convertFormParamsToString ? formParams . toString ( ) : formParams ,
453
459
{
460
+ // not text :(
454
461
withCredentials : this . configuration . withCredentials ,
455
462
headers : headers ,
456
463
observe : observe ,
@@ -527,6 +534,7 @@ export class PetService {
527
534
return this . httpClient . post < ApiResponse > ( `${ this . basePath } /pet/${ encodeURIComponent ( String ( petId ) ) } /uploadImage` ,
528
535
convertFormParamsToString ? formParams . toString ( ) : formParams ,
529
536
{
537
+ // not text :(
530
538
withCredentials : this . configuration . withCredentials ,
531
539
headers : headers ,
532
540
observe : observe ,
0 commit comments