mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 04:13:58 +00:00
swagger setup
This commit is contained in:
@@ -5,3 +5,7 @@ use Illuminate\Support\Facades\Route;
|
||||
Route::get('unauthorized', ['as' => 'unauthorized', function() {
|
||||
return response('Unauthorized Access', 401);
|
||||
}]);
|
||||
|
||||
Route::group(['prefix' => 'swagger-doc'], function () {
|
||||
Route::get('/', ['as' => 'swagger.app', 'uses' => 'SwaggerController@index']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user