Skip to content

fix: remove link to ApiDocumentation when doc is disabled #6029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

jderusse
Copy link
Contributor

@jderusse jderusse commented Dec 8, 2023

Q A
Branch? 3.2
Tickets /
License MIT
Doc PR

The HydraLinkProcessor injects links to ApiDocumentation in the response header even when the doc is disabled.

This PR remove the service (like it was the case with the legacy AddLinkHeaderListener) when the doc is not enabled.

@jderusse jderusse changed the title Remove link to ApiDocumentation when doc is disabled fix: remove link to ApiDocumentation when doc is disabled Dec 8, 2023
@soyuka soyuka merged commit a35f0da into api-platform:3.2 Dec 8, 2023
@soyuka
Copy link
Member

soyuka commented Dec 8, 2023

thanks @jderusse !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants