Skip to content
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

fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction #6894

Open
wants to merge 1 commit into
base: 3.3
Choose a base branch
from

Conversation

phansys
Copy link
Contributor

@phansys phansys commented Jan 7, 2025

Q A
Branch? 3.3
Tickets n/a
License MIT
Doc PR n/a

The original deprecation was introduced at #5657 and initially released under the v3.2.0-alpha.1
tag.
Then, the release 3.3.0 introduced the DocumentationAction class, which IMO is a much natural replacement for the deprecated class.

Additionally, the referenced class (ApiPlatform\Symfony\Bundle\SwaggerUi\Processor) in the deprecation message does not exist. Maybe the intention was to reference ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiProcessor.

@phansys phansys force-pushed the swagger_ui_replacement branch from 72c3cec to 62d5294 Compare January 7, 2025 20:28
@phansys phansys changed the title fix(symfony): suggest DocumentationAction as replacement for the deprecated class SwaggerUiAction fix(symfony): suggest DocumentationAction as replacement for deprecated SwaggerUiAction Jan 7, 2025
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