@@ -68,6 +68,7 @@ public function fakeBigDecimalMap(Request $request): JsonResponse
6868 $ apiResult = $ this ->api ->fakeBigDecimalMap ();
6969 } catch (\Exception $ exception ) {
7070 // This shouldn't happen
71+ report ($ exception );
7172 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
7273 }
7374
@@ -106,6 +107,7 @@ public function fakeHealthGet(Request $request): JsonResponse
106107 $ apiResult = $ this ->api ->fakeHealthGet ();
107108 } catch (\Exception $ exception ) {
108109 // This shouldn't happen
110+ report ($ exception );
109111 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
110112 }
111113
@@ -150,6 +152,7 @@ public function fakeHttpSignatureTest(Request $request): JsonResponse
150152 $ apiResult = $ this ->api ->fakeHttpSignatureTest ($ pet , $ query1 , $ header1 );
151153 } catch (\Exception $ exception ) {
152154 // This shouldn't happen
155+ report ($ exception );
153156 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
154157 }
155158
@@ -190,6 +193,7 @@ public function fakeOuterBooleanSerialize(Request $request): JsonResponse
190193 $ apiResult = $ this ->api ->fakeOuterBooleanSerialize ($ body );
191194 } catch (\Exception $ exception ) {
192195 // This shouldn't happen
196+ report ($ exception );
193197 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
194198 }
195199
@@ -230,6 +234,7 @@ public function fakeOuterCompositeSerialize(Request $request): JsonResponse
230234 $ apiResult = $ this ->api ->fakeOuterCompositeSerialize ($ outerComposite );
231235 } catch (\Exception $ exception ) {
232236 // This shouldn't happen
237+ report ($ exception );
233238 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
234239 }
235240
@@ -270,6 +275,7 @@ public function fakeOuterNumberSerialize(Request $request): JsonResponse
270275 $ apiResult = $ this ->api ->fakeOuterNumberSerialize ($ body );
271276 } catch (\Exception $ exception ) {
272277 // This shouldn't happen
278+ report ($ exception );
273279 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
274280 }
275281
@@ -310,6 +316,7 @@ public function fakeOuterStringSerialize(Request $request): JsonResponse
310316 $ apiResult = $ this ->api ->fakeOuterStringSerialize ($ body );
311317 } catch (\Exception $ exception ) {
312318 // This shouldn't happen
319+ report ($ exception );
313320 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
314321 }
315322
@@ -350,6 +357,7 @@ public function fakePropertyEnumIntegerSerialize(Request $request): JsonResponse
350357 $ apiResult = $ this ->api ->fakePropertyEnumIntegerSerialize ($ outerObjectWithEnumProperty );
351358 } catch (\Exception $ exception ) {
352359 // This shouldn't happen
360+ report ($ exception );
353361 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
354362 }
355363
@@ -390,6 +398,7 @@ public function testAdditionalPropertiesReference(Request $request): JsonRespons
390398 $ apiResult = $ this ->api ->testAdditionalPropertiesReference ($ requestBody );
391399 } catch (\Exception $ exception ) {
392400 // This shouldn't happen
401+ report ($ exception );
393402 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
394403 }
395404
@@ -430,6 +439,7 @@ public function testBodyWithBinary(Request $request): JsonResponse
430439 $ apiResult = $ this ->api ->testBodyWithBinary ($ body );
431440 } catch (\Exception $ exception ) {
432441 // This shouldn't happen
442+ report ($ exception );
433443 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
434444 }
435445
@@ -470,6 +480,7 @@ public function testBodyWithFileSchema(Request $request): JsonResponse
470480 $ apiResult = $ this ->api ->testBodyWithFileSchema ($ fileSchemaTestClass );
471481 } catch (\Exception $ exception ) {
472482 // This shouldn't happen
483+ report ($ exception );
473484 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
474485 }
475486
@@ -512,6 +523,7 @@ public function testBodyWithQueryParams(Request $request): JsonResponse
512523 $ apiResult = $ this ->api ->testBodyWithQueryParams ($ query , $ user );
513524 } catch (\Exception $ exception ) {
514525 // This shouldn't happen
526+ report ($ exception );
515527 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
516528 }
517529
@@ -552,6 +564,7 @@ public function testClientModel(Request $request): JsonResponse
552564 $ apiResult = $ this ->api ->testClientModel ($ client );
553565 } catch (\Exception $ exception ) {
554566 // This shouldn't happen
567+ report ($ exception );
555568 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
556569 }
557570
@@ -672,6 +685,7 @@ public function testEndpointParameters(Request $request): JsonResponse
672685 $ apiResult = $ this ->api ->testEndpointParameters ($ number , $ double , $ patternWithoutDelimiter , $ byte , $ integer , $ int32 , $ int64 , $ float , $ string , $ binary , $ date , $ dateTime , $ password , $ callback );
673686 } catch (\Exception $ exception ) {
674687 // This shouldn't happen
688+ report ($ exception );
675689 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
676690 }
677691
@@ -754,6 +768,7 @@ public function testEnumParameters(Request $request): JsonResponse
754768 $ apiResult = $ this ->api ->testEnumParameters ($ enumHeaderStringArray , $ enumHeaderString , $ enumQueryStringArray , $ enumQueryString , $ enumQueryInteger , $ enumQueryDouble , $ enumQueryModelArray , $ enumFormStringArray , $ enumFormString );
755769 } catch (\Exception $ exception ) {
756770 // This shouldn't happen
771+ report ($ exception );
757772 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
758773 }
759774
@@ -829,6 +844,7 @@ public function testGroupParameters(Request $request): JsonResponse
829844 $ apiResult = $ this ->api ->testGroupParameters ($ requiredStringGroup , $ requiredBooleanGroup , $ requiredInt64Group , $ stringGroup , $ booleanGroup , $ int64Group );
830845 } catch (\Exception $ exception ) {
831846 // This shouldn't happen
847+ report ($ exception );
832848 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
833849 }
834850
@@ -869,6 +885,7 @@ public function testInlineAdditionalProperties(Request $request): JsonResponse
869885 $ apiResult = $ this ->api ->testInlineAdditionalProperties ($ requestBody );
870886 } catch (\Exception $ exception ) {
871887 // This shouldn't happen
888+ report ($ exception );
872889 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
873890 }
874891
@@ -909,6 +926,7 @@ public function testInlineFreeformAdditionalProperties(Request $request): JsonRe
909926 $ apiResult = $ this ->api ->testInlineFreeformAdditionalProperties ($ testInlineFreeformAdditionalPropertiesRequest );
910927 } catch (\Exception $ exception ) {
911928 // This shouldn't happen
929+ report ($ exception );
912930 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
913931 }
914932
@@ -959,6 +977,7 @@ public function testJsonFormData(Request $request): JsonResponse
959977 $ apiResult = $ this ->api ->testJsonFormData ($ param , $ param2 );
960978 } catch (\Exception $ exception ) {
961979 // This shouldn't happen
980+ report ($ exception );
962981 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
963982 }
964983
@@ -999,6 +1018,7 @@ public function testNullable(Request $request): JsonResponse
9991018 $ apiResult = $ this ->api ->testNullable ($ childWithNullable );
10001019 } catch (\Exception $ exception ) {
10011020 // This shouldn't happen
1021+ report ($ exception );
10021022 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
10031023 }
10041024
@@ -1077,6 +1097,7 @@ public function testQueryParameterCollectionFormat(Request $request): JsonRespon
10771097 $ apiResult = $ this ->api ->testQueryParameterCollectionFormat ($ pipe , $ ioutil , $ http , $ url , $ context , $ allowEmpty , $ language );
10781098 } catch (\Exception $ exception ) {
10791099 // This shouldn't happen
1100+ report ($ exception );
10801101 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
10811102 }
10821103
@@ -1117,6 +1138,7 @@ public function testStringMapReference(Request $request): JsonResponse
11171138 $ apiResult = $ this ->api ->testStringMapReference ($ requestBody );
11181139 } catch (\Exception $ exception ) {
11191140 // This shouldn't happen
1141+ report ($ exception );
11201142 return response ()->json (['error ' => $ exception ->getMessage ()], 500 );
11211143 }
11221144
0 commit comments