How to Quickly Generate Laravel API Documentation

preview_player
Показать описание
Quick demo of a package Laravel API Documentation Generator, with real API example.

Рекомендации по теме
Комментарии
Автор

Mahn, you are full of useful information. I Have been following you a while now.

devendergupta_official
Автор

Great tool, I like the simplicity!!! I wish there was a way to reference the annotations from a saved location though, to *abstract* the decorators.

MunyaradziRangaIncrease
Автор

Hi there, when i try to generate the docs using artisan...this error appears : Argument 1 passed to must be of the type array, null given, called in on line 61

at

Автор

I personally think, that adding more documentation comment above the methods makes the file huge, Let say I have 10 methods and each method will have several processing logic, so adding the annotations would be unpleasant to eye. But if there is any way to get it and display like (loading the docs from another file and loading it above method) it would be perfect, I thnk so.

anbuselvanrocky
Автор

What about not so happy responses like 404 or 422? Do you put them in method comments as well?

alexrusin
Автор

Thanks alot. I was assuming you would have recorded about SWAGGER. Swagger Notations for APIs

nabeelyousafpasha
Автор

Why does the video freeze after a couple of seconds?

adarshchacko
Автор

I prefer to use Swagger. You also can use docs before your controller to generete API docs.

v-plekhanov
Автор

Sir, there a chrome extension called JsonView which will let you view your JSON in a proper format.

natnaelghirma
Автор

to generate the documentation you can use postman, it will be more functional

bubbletubbe
Автор

This is my personal opinion, but filling the controllers with comments longer than the actual code just for documentation is a little bit strange and unclear to understand.
Why to do it, while you can write down the documentation in pure swagger syntax and keep the controller clear.
But as I said, this is my opinion.

PS. Cool channel, keep the high level :)

nikolaybalkandzhiyski
Автор

Thanks, please can you do a tutorial on how to use laravel and Angular all in one please.

MULTICODE
Автор

I like your videos, Good videos, i need your help you, spain, como podria hacer auth, ya que me servirá para el login de sitio web y una app movil, al igual que los datos, quiero que tenga doble proposito web y movil . you can help me? o you have a video help? app for two propose!!

devmaster
Автор

Hello i really like you mr, but how can i generate for all project not only api for example like views blade or vue Js and normal controllers and providers Please reply to me ASAP

mustafasabah
Автор

This is a really really really stupid way of generating documentation that involves you DOING DOUBLE THE WORK you are writing the code and than ontop of that you have to write in detail the documention syntax The proper way should have been the documentation is auto generated from the code classes, methods and params and only if you wanted to add additional notes than you write in the the doc block comments Just saying its stupid but it works and i guess its the only thing people in PHP got for now to use .

agentstona