Laravel-apidoc-generator: Response not coming in Laravel 5.5

Created on 5 Sep 2017  路  9Comments  路  Source: mpociot/laravel-apidoc-generator

I tried the adding data within response but it doesn't appear there. Also installed the library to dev -master. Upgraded to laravel 5.5. But no response. any idea why?

Most helpful comment

Same here

All 9 comments

i face same issue

Same here

I tried to add a @response docblock on one of my controller methods to see if it worked, it did not show up in the generated docs, i suspect it might be broken for 5.5?

Shame this repo seems to be inactive, can anyone suggest an alternative tool that does the same thing this one does?

Duplicate of #198

response not getting in laravel5.5
can anyone suggest an alternative tool

Its working now somehow.
I added the @response in docblock and it showed up in Example Response on right as mentionsed in the Documentation.

Already I have same problem

Still same issue in laravel 5.6 ... response does not appear.

For a get request with header Accept - Application/json, the example response is generated by randomly selecting a valid input as mentioned in Request.
For other than Get calls, the response can be mentioned without @response, that is, simply befor every controller function, write the response on comments.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hackel picture hackel  路  8Comments

herpaderpaldent picture herpaderpaldent  路  7Comments

ashokTagtaste picture ashokTagtaste  路  8Comments

dozieogbo picture dozieogbo  路  4Comments

saidatom picture saidatom  路  7Comments