Skip to content

Commit

Permalink
Use library without swagger (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
fullbl authored Aug 23, 2021
1 parent 35dd7ac commit b3e6092
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DependencyInjection/CoopTilleulsForgotPasswordExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@ public function load(array $configs, ContainerBuilder $container): void
if (!$container->hasDefinition('api_platform.swagger.normalizer.documentation')) {
$container->removeDefinition('coop_tilleuls_forgot_password.normalizer.documentation');
}

if (!$container->hasDefinition('api_platform.openapi.factory')) {
$container->removeDefinition('coop_tilleuls_forgot_password.openapi.factory');
}
}
}

0 comments on commit b3e6092

Please sign in to comment.