Skip to content

fix(symfony): hides the "Other API docs" label when there is only a single option - #8631

Merged
soyuka merged 1 commit into
api-platform:5.0from
bram123:hide_other_docs_label
Oct 5, 2026
Merged

soyuka merged 1 commit into
api-platform:5.0from
bram123:hide_other_docs_label

Conversation

@bram123

@bram123 bram123 commented Oct 2, 2026

Copy link
Copy Markdown
Q A
Branch? 5.0 for bug fixes
Tickets
License MIT
Doc PR

The fix of #8576 now hides the 'GraphiQL' option when it's disabled. But on environments where Swagger/ReDoc is the only option enabled it now left an empty "Other API docs:" label.

This hides the "Other API docs:" label when there are no other doc UIs enabled.
Added SwaggerUiOtherApiDocLinkTest and RedocOtherApiDocLinkTest, following the SwaggerUiGraphiqlLinkTest class.

@bram123 bram123 changed the title fix(symfony): hides the "Other API docs" label when there is only a s… fix(symfony): hides the "Other API docs" label when there is only a single option Oct 2, 2026
@soyuka
soyuka merged commit c3eabbb into api-platform:5.0 Oct 5, 2026
117 checks passed
@soyuka

soyuka commented Oct 5, 2026

Copy link
Copy Markdown
Member

thanks!

@bram123
bram123 deleted the hide_other_docs_label branch October 5, 2026 20:35
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