Skip to content

Commit

Permalink
fix(jsonld): remove link to ApiDocumentation when doc is disabled (#6029
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jderusse authored Dec 8, 2023
1 parent 64dcfe1 commit a35f0da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ private function registerJsonLdHydraConfiguration(ContainerBuilder $container, a

if (!$config['enable_docs']) {
$container->removeDefinition('api_platform.hydra.listener.response.add_link_header');
$container->removeDefinition('api_platform.hydra.processor.link');
}
}

Expand Down

0 comments on commit a35f0da

Please sign in to comment.