Skip to content

Commit

Permalink
[FIX] register new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ViPErCZ committed Dec 18, 2024
1 parent bbb32cc commit c6983c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ private function registerSwaggerConfiguration(ContainerBuilder $container, array
$container->setParameter('api_platform.enable_swagger_ui', $config['enable_swagger_ui']);
$container->setParameter('api_platform.enable_re_doc', $config['enable_re_doc']);
$container->setParameter('api_platform.swagger.api_keys', $config['swagger']['api_keys']);
$container->setParameter('api_platform.swagger.persistAuthorization', $config['swagger']['persistAuthorization']);
if ($config['openapi']['swagger_ui_extra_configuration'] && $config['swagger']['swagger_ui_extra_configuration']) {
throw new RuntimeException('You can not set "swagger_ui_extra_configuration" twice - in "openapi" and "swagger" section.');
}
Expand Down

0 comments on commit c6983c9

Please sign in to comment.