@@ -282,7 +282,7 @@ pub trait Default {
282
282
host : Host ,
283
283
cookies : CookieJar ,
284
284
query_params : models:: AnyOfGetQueryParams ,
285
- ) -> Result < AnyOfGetResponse , String > ;
285
+ ) -> Result < AnyOfGetResponse , ( ) > ;
286
286
287
287
/// CallbackWithHeaderPost - POST /callback-with-header
288
288
async fn callback_with_header_post (
@@ -291,7 +291,7 @@ pub trait Default {
291
291
host : Host ,
292
292
cookies : CookieJar ,
293
293
query_params : models:: CallbackWithHeaderPostQueryParams ,
294
- ) -> Result < CallbackWithHeaderPostResponse , String > ;
294
+ ) -> Result < CallbackWithHeaderPostResponse , ( ) > ;
295
295
296
296
/// ComplexQueryParamGet - GET /complex-query-param
297
297
async fn complex_query_param_get (
@@ -300,7 +300,7 @@ pub trait Default {
300
300
host : Host ,
301
301
cookies : CookieJar ,
302
302
query_params : models:: ComplexQueryParamGetQueryParams ,
303
- ) -> Result < ComplexQueryParamGetResponse , String > ;
303
+ ) -> Result < ComplexQueryParamGetResponse , ( ) > ;
304
304
305
305
/// EnumInPathPathParamGet - GET /enum_in_path/{path_param}
306
306
async fn enum_in_path_path_param_get (
@@ -309,7 +309,7 @@ pub trait Default {
309
309
host : Host ,
310
310
cookies : CookieJar ,
311
311
path_params : models:: EnumInPathPathParamGetPathParams ,
312
- ) -> Result < EnumInPathPathParamGetResponse , String > ;
312
+ ) -> Result < EnumInPathPathParamGetResponse , ( ) > ;
313
313
314
314
/// Test a Form Post.
315
315
///
@@ -320,7 +320,7 @@ pub trait Default {
320
320
host : Host ,
321
321
cookies : CookieJar ,
322
322
body : models:: FormTestRequest ,
323
- ) -> Result < FormTestResponse , String > ;
323
+ ) -> Result < FormTestResponse , ( ) > ;
324
324
325
325
/// GetWithBooleanParameter - GET /get-with-bool
326
326
async fn get_with_boolean_parameter (
@@ -329,7 +329,7 @@ pub trait Default {
329
329
host : Host ,
330
330
cookies : CookieJar ,
331
331
query_params : models:: GetWithBooleanParameterQueryParams ,
332
- ) -> Result < GetWithBooleanParameterResponse , String > ;
332
+ ) -> Result < GetWithBooleanParameterResponse , ( ) > ;
333
333
334
334
/// JsonComplexQueryParamGet - GET /json-complex-query-param
335
335
async fn json_complex_query_param_get (
@@ -338,7 +338,7 @@ pub trait Default {
338
338
host : Host ,
339
339
cookies : CookieJar ,
340
340
query_params : models:: JsonComplexQueryParamGetQueryParams ,
341
- ) -> Result < JsonComplexQueryParamGetResponse , String > ;
341
+ ) -> Result < JsonComplexQueryParamGetResponse , ( ) > ;
342
342
343
343
/// MandatoryRequestHeaderGet - GET /mandatory-request-header
344
344
async fn mandatory_request_header_get (
@@ -347,15 +347,15 @@ pub trait Default {
347
347
host : Host ,
348
348
cookies : CookieJar ,
349
349
header_params : models:: MandatoryRequestHeaderGetHeaderParams ,
350
- ) -> Result < MandatoryRequestHeaderGetResponse , String > ;
350
+ ) -> Result < MandatoryRequestHeaderGetResponse , ( ) > ;
351
351
352
352
/// MergePatchJsonGet - GET /merge-patch-json
353
353
async fn merge_patch_json_get (
354
354
& self ,
355
355
method : Method ,
356
356
host : Host ,
357
357
cookies : CookieJar ,
358
- ) -> Result < MergePatchJsonGetResponse , String > ;
358
+ ) -> Result < MergePatchJsonGetResponse , ( ) > ;
359
359
360
360
/// Get some stuff..
361
361
///
@@ -365,15 +365,15 @@ pub trait Default {
365
365
method : Method ,
366
366
host : Host ,
367
367
cookies : CookieJar ,
368
- ) -> Result < MultigetGetResponse , String > ;
368
+ ) -> Result < MultigetGetResponse , ( ) > ;
369
369
370
370
/// MultipleAuthSchemeGet - GET /multiple_auth_scheme
371
371
async fn multiple_auth_scheme_get (
372
372
& self ,
373
373
method : Method ,
374
374
host : Host ,
375
375
cookies : CookieJar ,
376
- ) -> Result < MultipleAuthSchemeGetResponse , String > ;
376
+ ) -> Result < MultipleAuthSchemeGetResponse , ( ) > ;
377
377
378
378
/// MultiplePathParamsWithVeryLongPathToTestFormattingPathParamAPathParamBGet - GET /multiple-path-params-with-very-long-path-to-test-formatting/{path_param_a}/{path_param_b}
379
379
async fn multiple_path_params_with_very_long_path_to_test_formatting_path_param_a_path_param_b_get (
@@ -382,26 +382,23 @@ pub trait Default {
382
382
host : Host ,
383
383
cookies : CookieJar ,
384
384
path_params : models:: MultiplePathParamsWithVeryLongPathToTestFormattingPathParamAPathParamBGetPathParams ,
385
- ) -> Result <
386
- MultiplePathParamsWithVeryLongPathToTestFormattingPathParamAPathParamBGetResponse ,
387
- String ,
388
- > ;
385
+ ) -> Result < MultiplePathParamsWithVeryLongPathToTestFormattingPathParamAPathParamBGetResponse , ( ) > ;
389
386
390
387
/// OneOfGet - GET /one-of
391
388
async fn one_of_get (
392
389
& self ,
393
390
method : Method ,
394
391
host : Host ,
395
392
cookies : CookieJar ,
396
- ) -> Result < OneOfGetResponse , String > ;
393
+ ) -> Result < OneOfGetResponse , ( ) > ;
397
394
398
395
/// OverrideServerGet - GET /override-server
399
396
async fn override_server_get (
400
397
& self ,
401
398
method : Method ,
402
399
host : Host ,
403
400
cookies : CookieJar ,
404
- ) -> Result < OverrideServerGetResponse , String > ;
401
+ ) -> Result < OverrideServerGetResponse , ( ) > ;
405
402
406
403
/// Get some stuff with parameters..
407
404
///
@@ -412,15 +409,15 @@ pub trait Default {
412
409
host : Host ,
413
410
cookies : CookieJar ,
414
411
query_params : models:: ParamgetGetQueryParams ,
415
- ) -> Result < ParamgetGetResponse , String > ;
412
+ ) -> Result < ParamgetGetResponse , ( ) > ;
416
413
417
414
/// ReadonlyAuthSchemeGet - GET /readonly_auth_scheme
418
415
async fn readonly_auth_scheme_get (
419
416
& self ,
420
417
method : Method ,
421
418
host : Host ,
422
419
cookies : CookieJar ,
423
- ) -> Result < ReadonlyAuthSchemeGetResponse , String > ;
420
+ ) -> Result < ReadonlyAuthSchemeGetResponse , ( ) > ;
424
421
425
422
/// RegisterCallbackPost - POST /register-callback
426
423
async fn register_callback_post (
@@ -429,7 +426,7 @@ pub trait Default {
429
426
host : Host ,
430
427
cookies : CookieJar ,
431
428
query_params : models:: RegisterCallbackPostQueryParams ,
432
- ) -> Result < RegisterCallbackPostResponse , String > ;
429
+ ) -> Result < RegisterCallbackPostResponse , ( ) > ;
433
430
434
431
/// RequiredOctetStreamPut - PUT /required_octet_stream
435
432
async fn required_octet_stream_put (
@@ -438,23 +435,23 @@ pub trait Default {
438
435
host : Host ,
439
436
cookies : CookieJar ,
440
437
body : Bytes ,
441
- ) -> Result < RequiredOctetStreamPutResponse , String > ;
438
+ ) -> Result < RequiredOctetStreamPutResponse , ( ) > ;
442
439
443
440
/// ResponsesWithHeadersGet - GET /responses_with_headers
444
441
async fn responses_with_headers_get (
445
442
& self ,
446
443
method : Method ,
447
444
host : Host ,
448
445
cookies : CookieJar ,
449
- ) -> Result < ResponsesWithHeadersGetResponse , String > ;
446
+ ) -> Result < ResponsesWithHeadersGetResponse , ( ) > ;
450
447
451
448
/// Rfc7807Get - GET /rfc7807
452
449
async fn rfc7807_get (
453
450
& self ,
454
451
method : Method ,
455
452
host : Host ,
456
453
cookies : CookieJar ,
457
- ) -> Result < Rfc7807GetResponse , String > ;
454
+ ) -> Result < Rfc7807GetResponse , ( ) > ;
458
455
459
456
/// TwoFirstLetterHeaders - POST /operation-two-first-letter-headers
460
457
async fn two_first_letter_headers (
@@ -463,7 +460,7 @@ pub trait Default {
463
460
host : Host ,
464
461
cookies : CookieJar ,
465
462
header_params : models:: TwoFirstLetterHeadersHeaderParams ,
466
- ) -> Result < TwoFirstLetterHeadersResponse , String > ;
463
+ ) -> Result < TwoFirstLetterHeadersResponse , ( ) > ;
467
464
468
465
/// UntypedPropertyGet - GET /untyped_property
469
466
async fn untyped_property_get (
@@ -472,15 +469,15 @@ pub trait Default {
472
469
host : Host ,
473
470
cookies : CookieJar ,
474
471
body : Option < models:: ObjectUntypedProps > ,
475
- ) -> Result < UntypedPropertyGetResponse , String > ;
472
+ ) -> Result < UntypedPropertyGetResponse , ( ) > ;
476
473
477
474
/// UuidGet - GET /uuid
478
475
async fn uuid_get (
479
476
& self ,
480
477
method : Method ,
481
478
host : Host ,
482
479
cookies : CookieJar ,
483
- ) -> Result < UuidGetResponse , String > ;
480
+ ) -> Result < UuidGetResponse , ( ) > ;
484
481
485
482
/// XmlExtraPost - POST /xml_extra
486
483
async fn xml_extra_post (
@@ -489,7 +486,7 @@ pub trait Default {
489
486
host : Host ,
490
487
cookies : CookieJar ,
491
488
body : Bytes ,
492
- ) -> Result < XmlExtraPostResponse , String > ;
489
+ ) -> Result < XmlExtraPostResponse , ( ) > ;
493
490
494
491
/// XmlOtherPost - POST /xml_other
495
492
async fn xml_other_post (
@@ -498,7 +495,7 @@ pub trait Default {
498
495
host : Host ,
499
496
cookies : CookieJar ,
500
497
body : Bytes ,
501
- ) -> Result < XmlOtherPostResponse , String > ;
498
+ ) -> Result < XmlOtherPostResponse , ( ) > ;
502
499
503
500
/// XmlOtherPut - PUT /xml_other
504
501
async fn xml_other_put (
@@ -507,7 +504,7 @@ pub trait Default {
507
504
host : Host ,
508
505
cookies : CookieJar ,
509
506
body : Bytes ,
510
- ) -> Result < XmlOtherPutResponse , String > ;
507
+ ) -> Result < XmlOtherPutResponse , ( ) > ;
511
508
512
509
/// Post an array. It's important we test apostrophes, so include one here..
513
510
///
@@ -518,7 +515,7 @@ pub trait Default {
518
515
host : Host ,
519
516
cookies : CookieJar ,
520
517
body : Bytes ,
521
- ) -> Result < XmlPostResponse , String > ;
518
+ ) -> Result < XmlPostResponse , ( ) > ;
522
519
523
520
/// XmlPut - PUT /xml
524
521
async fn xml_put (
@@ -527,5 +524,5 @@ pub trait Default {
527
524
host : Host ,
528
525
cookies : CookieJar ,
529
526
body : Bytes ,
530
- ) -> Result < XmlPutResponse , String > ;
527
+ ) -> Result < XmlPutResponse , ( ) > ;
531
528
}
0 commit comments