for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mpociot\ApiDoc\Http;
use Illuminate\Support\Facades\Storage;
class Controller
{
public function blade()
return view('apidoc.index');
}
/**
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*
* @return \Illuminate\Http\JsonResponse
*/
public function json()
return response()->json(
Storage::disk('local')->get('apidoc/collection.json')
);