You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
laravel-apidoc-generator ignore the transformers during docs generation
look at the response in following screen shot and notice how delicious is 1:
but if I use Postman, the delicious is displayed correctly as true:
here's the code that generates the response:
public function show($id)
{
$fruit = Fruit::where('id', $id)->first();
if ($fruit) {
return $this->item($fruit, new FruitsTransformer);
}
return $this->response->errorNotFound();
}