Skip to content

Instantly share code, notes, and snippets.

@erenhatirnaz
Created November 3, 2021 05:50
Show Gist options
  • Save erenhatirnaz/76feb1f35ff3cd4be33a71c8ca249a2e to your computer and use it in GitHub Desktop.
Save erenhatirnaz/76feb1f35ff3cd4be33a71c8ca249a2e to your computer and use it in GitHub Desktop.
/**
* ...
*
* @OA\Response(
* response="UnauthorizedError",
* description="Unauthorized",
* @OA\JsonContent(
* ref="#/components/schemas/Error",
* example={"code": "unauthenticated", "message": "User hasn't signed in."}
* )
* )
*/
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment