[Backport #1977 to 5.x] Migrate bin/openapi to Symfony Console#1982
Closed
github-actions[bot] wants to merge 1 commit into5.xfrom
Closed
[Backport #1977 to 5.x] Migrate bin/openapi to Symfony Console#1982github-actions[bot] wants to merge 1 commit into5.xfrom
bin/openapi to Symfony Console#1982github-actions[bot] wants to merge 1 commit into5.xfrom
Conversation
Contributor
Author
|
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-1977-to-5.x
git worktree add --checkout .worktree/backport-1977-to-5.x backport-1977-to-5.x
cd .worktree/backport-1977-to-5.x
git reset --hard HEAD^
git cherry-pick -x ce85d8ef2d1e87db5bf31bbedc915b59c927f56f baccd77d5818712bb1666b1c568996e6be863ee7 f18eaf2e24ef1f84798834f5af7e0cdde26d5d55 d7ceb1e19bb4a0139c420cbf6457733b8fabfcd7 734d780f9efe42938b656e1b80c8ca9bf2bcaa27 644fa4d4ac6f67ce8acc33136851991e6e42ac59 c83b434ec0f075ab751555e4aeed3dfb6c24bfc6 b4f97be7ba8f4ffb5f1cc17fc431901585d7c3c2 06aebb86dc9ace17c96744b4d3b019385210149f
git push --force-with-lease |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated backport of #1977 to branch
5.x.Summary
Migrate
bin/openapifrom a 270-line standalone script with manual argument parsing to a Symfony Console application, leveraging modern Symfony 8.0 features:#[AsCommand]attribute for command metadata#[MapInput]with aGenerateInputDTO for declarative input definition#[Argument]/#[Option]attributes on DTO properties__invoke()ConsoleLoggerwith Symfony'sConsoleLoggerSymfonyStylefor user-facing output (defaults, bootstrap info)All existing CLI behavior is preserved (output format, exit codes, processor management, comma-separated exclude deprecation warning).
Type of Change
Related Issues
Part of #1953