diff --git a/src/Laravel/config/api-platform.php b/src/Laravel/config/api-platform.php index 2d4b68783a..bd1db3114a 100644 --- a/src/Laravel/config/api-platform.php +++ b/src/Laravel/config/api-platform.php @@ -8,6 +8,7 @@ 'title' => 'API Platform', 'description' => 'My awesome API', 'version' => '1.0.0', + 'show_webby' => true, 'routes' => [ // Global middleware applied to every API Platform routes diff --git a/src/Laravel/resources/views/swagger-ui.blade.php b/src/Laravel/resources/views/swagger-ui.blade.php index acbe282d93..4a9436c6e0 100644 --- a/src/Laravel/resources/views/swagger-ui.blade.php +++ b/src/Laravel/resources/views/swagger-ui.blade.php @@ -14,6 +14,7 @@
+ @if (config('api-platform.show_webby', true))
@@ -209,6 +210,7 @@ + @endif