Skip to content

fix(symfony): make enable_docs a master switch for disabling documentation#7806

Merged
soyuka merged 2 commits intoapi-platform:4.2from
soyuka:fix/disable-doc
Mar 3, 2026
Merged

fix(symfony): make enable_docs a master switch for disabling documentation#7806
soyuka merged 2 commits intoapi-platform:4.2from
soyuka:fix/disable-doc

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Feb 27, 2026

Q A
Branch? 4.2
Tickets Fixes #6282
License MIT
Doc PR

When enable_docs: false, SwaggerUiProvider still served HTML docs on resource endpoints because enable_swagger_ui and enable_re_doc remained active. Now enable_docs: false forces both to false.

soyuka and others added 2 commits February 27, 2026 21:46
…ation

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | Fixes api-platform#6282
| License       | MIT
| Doc PR        | ∅

When `enable_docs: false`, SwaggerUiProvider still served HTML docs on
resource endpoints because `enable_swagger_ui` and `enable_re_doc`
remained active. Now `enable_docs: false` forces both to false.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@soyuka soyuka merged commit 31289b8 into api-platform:4.2 Mar 3, 2026
147 of 148 checks passed
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.

1 participant