Jun 19, 2020
0
Level 6
UNAUTHENTICATED IN Laravel api documentation
I'm using this package https://github.com/mpociot/laravel-apidoc-generator to generate api documentation but i got couple problems:
1- Running requests always return "unauthenticated" how to configure this in a right way ? i tried to add the login token to apidoc.php in authorization but it didn't work .
2- some request need email as @bodyParam but couldn't find a type of email so it always generate a text and this fails. how to force type email here ?
Thanks in advance, hope i was clear.
Please or to participate in this conversation.