From 81b8b35fa9930d001cb3eaf52db7f61ae4e4a0e3 Mon Sep 17 00:00:00 2001 From: Shah Shaikat Date: Fri, 20 Sep 2024 21:53:22 +0100 Subject: [PATCH] Fix Bug of L5_SWAGGER_UI_ASSETS_PATH(.env) not working --- config/l5-swagger.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/l5-swagger.php b/config/l5-swagger.php index 3d18860..a3ce546 100644 --- a/config/l5-swagger.php +++ b/config/l5-swagger.php @@ -20,6 +20,11 @@ */ 'use_absolute_path' => env('L5_SWAGGER_USE_ABSOLUTE_PATH', true), + /* + * Edit to set path where swagger ui assets should be stored + */ + 'swagger_ui_assets_path' => env('L5_SWAGGER_UI_ASSETS_PATH', 'vendor/swagger-api/swagger-ui/dist/'), + /* * File name of the generated json documentation file */ @@ -88,11 +93,6 @@ */ 'base' => env('L5_SWAGGER_BASE_PATH', null), - /* - * Edit to set path where swagger ui assets should be stored - */ - 'swagger_ui_assets_path' => env('L5_SWAGGER_UI_ASSETS_PATH', 'vendor/swagger-api/swagger-ui/dist/'), - /* * Absolute path to directories that should be excluded from scanning * @deprecated Please use `scanOptions.exclude`