"message": "Class \"CartResource\" not found",
"exception": "Error",
"file": "/var/www/vendor/dedoc/scramble/src/Support/TypeToSchemaExtensions/JsonResourceTypeToSchema.php",
"line": 161,
"trace": [
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/Generator/TypeTransformer.php",
"line": 256,
"function": "toResponse",
"class": "Dedoc\\Scramble\\Support\\TypeToSchemaExtensions\\JsonResourceTypeToSchema",
"type": "->"
},
{
"function": "Dedoc\\Scramble\\Support\\Generator\\{closure}",
"class": "Dedoc\\Scramble\\Support\\Generator\\TypeTransformer",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/Generator/TypeTransformer.php",
"line": 261,
"function": "array_reduce"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/Generator/TypeTransformer.php",
"line": 208,
"function": "handleResponseUsingExtensions",
"class": "Dedoc\\Scramble\\Support\\Generator\\TypeTransformer",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/OperationExtensions/ResponseExtension.php",
"line": 31,
"function": "toResponse",
"class": "Dedoc\\Scramble\\Support\\Generator\\TypeTransformer",
"type": "->"
},
{
"function": "Dedoc\\Scramble\\Support\\OperationExtensions\\{closure}",
"class": "Dedoc\\Scramble\\Support\\OperationExtensions\\ResponseExtension",
"type": "->"
},
{
"file": "/var/www/vendor/laravel/framework/src/Illuminate/Collections/Arr.php",
"line": 560,
"function": "array_map"
},
{
"file": "/var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php",
"line": 739,
"function": "map",
"class": "Illuminate\\Support\\Arr",
"type": "::"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/OperationExtensions/ResponseExtension.php",
"line": 31,
"function": "map",
"class": "Illuminate\\Support\\Collection",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Support/OperationBuilder.php",
"line": 28,
"function": "handle",
"class": "Dedoc\\Scramble\\Support\\OperationExtensions\\ResponseExtension",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Generator.php",
"line": 146,
"function": "build",
"class": "Dedoc\\Scramble\\Support\\OperationBuilder",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Generator.php",
"line": 42,
"function": "routeToOperation",
"class": "Dedoc\\Scramble\\Generator",
"type": "->"
},
{
"function": "Dedoc\\Scramble\\{closure}",
"class": "Dedoc\\Scramble\\Generator",
"type": "->"
},
{
"file": "/var/www/vendor/laravel/framework/src/Illuminate/Collections/Arr.php",
"line": 560,
"function": "array_map"
},
{
"file": "/var/www/vendor/laravel/framework/src/Illuminate/Collections/Collection.php",
"line": 739,
"function": "map",
"class": "Illuminate\\Support\\Arr",
"type": "::"
},
{
"file": "/var/www/vendor/dedoc/scramble/src/Generator.php",
"line": 53,
"function": "map",
"class": "Illuminate\\Support\\Collection",
"type": "->"
},
{
"file": "/var/www/vendor/dedoc/scramble/routes/web.php",
"line": 8,
"function": "__invoke",
"class": "Dedoc\\Scramble\\Generator",
"type": "->"
},