Skip to content

laravel-apidoc-generator ignore the transformers during docs generation #43

@diaafares

Description

@diaafares

laravel-apidoc-generator ignore the transformers during docs generation
look at the response in following screen shot and notice how delicious is 1:
screen shot 2016-06-12 at 2 54 13 pm

but if I use Postman, the delicious is displayed correctly as true:
screen shot 2016-06-11 at 4 38 25 pm

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();
    }

and the full code can be found at:
https://github.com/devmatic/fruits-api/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions