From 3800e6b84faeddf3c5fa5b07fe45f3042f3b2619 Mon Sep 17 00:00:00 2001 From: jerodev Date: Tue, 29 Apr 2025 12:03:04 +0200 Subject: [PATCH] Update location for blade view override --- core/openapi.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/openapi.md b/core/openapi.md index 2159ef2375d..f472a3b2f14 100644 --- a/core/openapi.md +++ b/core/openapi.md @@ -755,21 +755,21 @@ You may want to copy the [one shipped with API Platform](https://github.com/api- ### Overriding the UI Template using Laravel -As described [in the Laravel documentation](https://laravel.com/docs/blade#extending-a-layout), it's possible to override the Blade template that loads Swagger UI and renders the documentation: +As described [in the Laravel documentation](https://laravel.com/docs/packages#overriding-package-views), it's possible to override the Blade template that loads Swagger UI and renders the documentation: ```html -{# resources/views/swagger-ui.blade.php #} +{{-- resources/views/vendor/api-platform/swagger-ui.blade.php --}} @if(isset($title)) - {{ $title }} + {{ $title }} @endif My custom template - {# ... #} + {{-- ... --}} ```