More work on the API utilizing Laravel 5.5 exception rendering
Also corrects API format to maintain JSONAPI spec
This commit is contained in:
parent
f30f4b45ba
commit
54b6fb5ebd
28 changed files with 464 additions and 391 deletions
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Serializer
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The default serializer to be used when performing a transformation. It
|
||||
| may be left empty to use Fractal's default one. This can either be a
|
||||
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
|
||||
|
|
||||
*/
|
||||
|
||||
'default_serializer' => League\Fractal\Serializer\JsonApiSerializer::class,
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue