jeudi 1 octobre 2015

Required @SWG\Info() not found

I'm pretty new to using Swagger. Since my project is with Laravel, I use Swaggerevel to document my API. During I tried to generate as follows,

./vendor/bin/swagger app/ -o storage/docs/api-docs.json

It shows that

[INFO] Required @SWG\Info() not found

    get /api/resource.json
-----------------------
1 operations documented
-----------------------
Written to /home/admin/api/gevme-api/storage/docs/api-docs.json

When I tried to access, It localhost:8000/docs, It properly show json api which I generated. But when I tried to access localhost:8000/api-docs, the same error message show again.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire