Skip to content

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

Open
soyuka wants to merge 1 commit intoapi-platform:4.2from
soyuka:fix/disable-doc
Open

fix(symfony): make enable_docs a master switch for disabling documentation#7806
soyuka wants to merge 1 commit 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.

…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>
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