@@ -68,6 +68,7 @@ public function fakeBigDecimalMap(Request $request): JsonResponse
68
68
$ apiResult = $ this ->api ->fakeBigDecimalMap ();
69
69
} catch (\Exception $ exception ) {
70
70
// This shouldn't happen
71
+ report ($ exception );
71
72
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
72
73
}
73
74
@@ -106,6 +107,7 @@ public function fakeHealthGet(Request $request): JsonResponse
106
107
$ apiResult = $ this ->api ->fakeHealthGet ();
107
108
} catch (\Exception $ exception ) {
108
109
// This shouldn't happen
110
+ report ($ exception );
109
111
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
110
112
}
111
113
@@ -150,6 +152,7 @@ public function fakeHttpSignatureTest(Request $request): JsonResponse
150
152
$ apiResult = $ this ->api ->fakeHttpSignatureTest ($ pet , $ query1 , $ header1 );
151
153
} catch (\Exception $ exception ) {
152
154
// This shouldn't happen
155
+ report ($ exception );
153
156
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
154
157
}
155
158
@@ -190,6 +193,7 @@ public function fakeOuterBooleanSerialize(Request $request): JsonResponse
190
193
$ apiResult = $ this ->api ->fakeOuterBooleanSerialize ($ body );
191
194
} catch (\Exception $ exception ) {
192
195
// This shouldn't happen
196
+ report ($ exception );
193
197
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
194
198
}
195
199
@@ -230,6 +234,7 @@ public function fakeOuterCompositeSerialize(Request $request): JsonResponse
230
234
$ apiResult = $ this ->api ->fakeOuterCompositeSerialize ($ outerComposite );
231
235
} catch (\Exception $ exception ) {
232
236
// This shouldn't happen
237
+ report ($ exception );
233
238
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
234
239
}
235
240
@@ -270,6 +275,7 @@ public function fakeOuterNumberSerialize(Request $request): JsonResponse
270
275
$ apiResult = $ this ->api ->fakeOuterNumberSerialize ($ body );
271
276
} catch (\Exception $ exception ) {
272
277
// This shouldn't happen
278
+ report ($ exception );
273
279
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
274
280
}
275
281
@@ -310,6 +316,7 @@ public function fakeOuterStringSerialize(Request $request): JsonResponse
310
316
$ apiResult = $ this ->api ->fakeOuterStringSerialize ($ body );
311
317
} catch (\Exception $ exception ) {
312
318
// This shouldn't happen
319
+ report ($ exception );
313
320
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
314
321
}
315
322
@@ -350,6 +357,7 @@ public function fakePropertyEnumIntegerSerialize(Request $request): JsonResponse
350
357
$ apiResult = $ this ->api ->fakePropertyEnumIntegerSerialize ($ outerObjectWithEnumProperty );
351
358
} catch (\Exception $ exception ) {
352
359
// This shouldn't happen
360
+ report ($ exception );
353
361
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
354
362
}
355
363
@@ -390,6 +398,7 @@ public function testAdditionalPropertiesReference(Request $request): JsonRespons
390
398
$ apiResult = $ this ->api ->testAdditionalPropertiesReference ($ requestBody );
391
399
} catch (\Exception $ exception ) {
392
400
// This shouldn't happen
401
+ report ($ exception );
393
402
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
394
403
}
395
404
@@ -430,6 +439,7 @@ public function testBodyWithBinary(Request $request): JsonResponse
430
439
$ apiResult = $ this ->api ->testBodyWithBinary ($ body );
431
440
} catch (\Exception $ exception ) {
432
441
// This shouldn't happen
442
+ report ($ exception );
433
443
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
434
444
}
435
445
@@ -470,6 +480,7 @@ public function testBodyWithFileSchema(Request $request): JsonResponse
470
480
$ apiResult = $ this ->api ->testBodyWithFileSchema ($ fileSchemaTestClass );
471
481
} catch (\Exception $ exception ) {
472
482
// This shouldn't happen
483
+ report ($ exception );
473
484
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
474
485
}
475
486
@@ -512,6 +523,7 @@ public function testBodyWithQueryParams(Request $request): JsonResponse
512
523
$ apiResult = $ this ->api ->testBodyWithQueryParams ($ query , $ user );
513
524
} catch (\Exception $ exception ) {
514
525
// This shouldn't happen
526
+ report ($ exception );
515
527
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
516
528
}
517
529
@@ -552,6 +564,7 @@ public function testClientModel(Request $request): JsonResponse
552
564
$ apiResult = $ this ->api ->testClientModel ($ client );
553
565
} catch (\Exception $ exception ) {
554
566
// This shouldn't happen
567
+ report ($ exception );
555
568
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
556
569
}
557
570
@@ -672,6 +685,7 @@ public function testEndpointParameters(Request $request): JsonResponse
672
685
$ apiResult = $ this ->api ->testEndpointParameters ($ number , $ double , $ patternWithoutDelimiter , $ byte , $ integer , $ int32 , $ int64 , $ float , $ string , $ binary , $ date , $ dateTime , $ password , $ callback );
673
686
} catch (\Exception $ exception ) {
674
687
// This shouldn't happen
688
+ report ($ exception );
675
689
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
676
690
}
677
691
@@ -754,6 +768,7 @@ public function testEnumParameters(Request $request): JsonResponse
754
768
$ apiResult = $ this ->api ->testEnumParameters ($ enumHeaderStringArray , $ enumHeaderString , $ enumQueryStringArray , $ enumQueryString , $ enumQueryInteger , $ enumQueryDouble , $ enumQueryModelArray , $ enumFormStringArray , $ enumFormString );
755
769
} catch (\Exception $ exception ) {
756
770
// This shouldn't happen
771
+ report ($ exception );
757
772
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
758
773
}
759
774
@@ -829,6 +844,7 @@ public function testGroupParameters(Request $request): JsonResponse
829
844
$ apiResult = $ this ->api ->testGroupParameters ($ requiredStringGroup , $ requiredBooleanGroup , $ requiredInt64Group , $ stringGroup , $ booleanGroup , $ int64Group );
830
845
} catch (\Exception $ exception ) {
831
846
// This shouldn't happen
847
+ report ($ exception );
832
848
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
833
849
}
834
850
@@ -869,6 +885,7 @@ public function testInlineAdditionalProperties(Request $request): JsonResponse
869
885
$ apiResult = $ this ->api ->testInlineAdditionalProperties ($ requestBody );
870
886
} catch (\Exception $ exception ) {
871
887
// This shouldn't happen
888
+ report ($ exception );
872
889
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
873
890
}
874
891
@@ -909,6 +926,7 @@ public function testInlineFreeformAdditionalProperties(Request $request): JsonRe
909
926
$ apiResult = $ this ->api ->testInlineFreeformAdditionalProperties ($ testInlineFreeformAdditionalPropertiesRequest );
910
927
} catch (\Exception $ exception ) {
911
928
// This shouldn't happen
929
+ report ($ exception );
912
930
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
913
931
}
914
932
@@ -959,6 +977,7 @@ public function testJsonFormData(Request $request): JsonResponse
959
977
$ apiResult = $ this ->api ->testJsonFormData ($ param , $ param2 );
960
978
} catch (\Exception $ exception ) {
961
979
// This shouldn't happen
980
+ report ($ exception );
962
981
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
963
982
}
964
983
@@ -999,6 +1018,7 @@ public function testNullable(Request $request): JsonResponse
999
1018
$ apiResult = $ this ->api ->testNullable ($ childWithNullable );
1000
1019
} catch (\Exception $ exception ) {
1001
1020
// This shouldn't happen
1021
+ report ($ exception );
1002
1022
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
1003
1023
}
1004
1024
@@ -1077,6 +1097,7 @@ public function testQueryParameterCollectionFormat(Request $request): JsonRespon
1077
1097
$ apiResult = $ this ->api ->testQueryParameterCollectionFormat ($ pipe , $ ioutil , $ http , $ url , $ context , $ allowEmpty , $ language );
1078
1098
} catch (\Exception $ exception ) {
1079
1099
// This shouldn't happen
1100
+ report ($ exception );
1080
1101
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
1081
1102
}
1082
1103
@@ -1117,6 +1138,7 @@ public function testStringMapReference(Request $request): JsonResponse
1117
1138
$ apiResult = $ this ->api ->testStringMapReference ($ requestBody );
1118
1139
} catch (\Exception $ exception ) {
1119
1140
// This shouldn't happen
1141
+ report ($ exception );
1120
1142
return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
1121
1143
}
1122
1144
0 commit comments