Skip to content

Commit 4ad7a50

Browse files
authoredOct 11, 2024··
fix(laravel): openapi Options binding
If the settings are not passed, the UI elements required for login will not appear on the API documentation page.
1 parent 439c188 commit 4ad7a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Laravel/ApiPlatformProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ public function register(): void
799799
$app->make(SchemaFactoryInterface::class),
800800
null,
801801
$config->get('api-platform.formats'),
802-
null, // ?Options $openApiOptions = null,
802+
$app->make(Options::class),
803803
$app->make(PaginationOptions::class), // ?PaginationOptions $paginationOptions = null,
804804
// ?RouterInterface $router = null
805805
);

0 commit comments

Comments
 (0)
Please sign in to comment.