reconstruction of the project
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\JsonResponse;
|
||||
|
||||
class DocsController extends Controller
|
||||
{
|
||||
public function index(): JsonResponse
|
||||
{
|
||||
return response()->json([
|
||||
'message' => 'API documentation is available at /api/docs.',
|
||||
'format' => 'swagger',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user