Skip to content

Conversation

@vladprado
Copy link
Contributor

@vladprado vladprado commented Mar 18, 2025

Please make sure that your PR meets the following requirements:

  • You have read the contributors guide
  • Your code is properly formatted according to our code style
  • Pull Request title contains the target branch if not targeting main: [0.9.x] Subject
  • Pull Request contains link to the issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
Refactor of inputExtension method to inputExtensions The inputExtensions method was deprecated in quarkus 3.7.0 in favor of the inputExtensions method. This issues deals with refactoring the code to use the newer method.

backport-main-lts

#1045

@hbelmiro hbelmiro requested a review from ricardozanini March 18, 2025 12:35
Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead, can you try having only the file OpenApiGeneratorCodeGen class and return an array of extensions? This way we don't need to have 3 classes with 3 different extensions.

@vladprado
Copy link
Contributor Author

Instead, can you try having only the file OpenApiGeneratorCodeGen class and return an array of extensions? This way we don't need to have 3 classes with 3 different extensions.

Sure, @ricardozanini
I will expand the refactoring so it's only one condegen class.

@vladprado vladprado force-pushed the fix/inputExtensions branch from ff3ae24 to f51f419 Compare March 20, 2025 15:11
@vladprado
Copy link
Contributor Author

@ricardozanini , changes made.

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two minors. We can use open-api instead. Many thanks again for this work!

 quarkiverse#1045 - Refactor inputExtension method to inputExtensions# This is a combination of 2 commits.

 quarkiverse#1045 - Refactor inputExtension method to inputExtensions
@vladprado vladprado force-pushed the fix/inputExtensions branch from f51f419 to 61690f3 Compare March 20, 2025 20:41
@vladprado
Copy link
Contributor Author

@ricardozanini , updated the path for the files.
If you need anything, let me know.

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Many thanks!

@ricardozanini ricardozanini merged commit 0b85735 into quarkiverse:main Mar 20, 2025
7 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 20, 2025
#1045 - Refactor inputExtension method to inputExtensions# This is a combination of 2 commits.

 #1045 - Refactor inputExtension method to inputExtensions
hbelmiro pushed a commit that referenced this pull request Mar 21, 2025
…1061)

#1045 - Refactor inputExtension method to inputExtensions# This is a combination of 2 commits.

 #1045 - Refactor inputExtension method to inputExtensions

Co-authored-by: vladprado <[email protected]>
@hbelmiro
Copy link
Contributor

@all-contributors add @vladprado for code, tests and doc.

@allcontributors
Copy link
Contributor

@hbelmiro

@vladprado already contributed before to code, test, doc

@vladprado vladprado deleted the fix/inputExtensions branch April 1, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor inputExtension method in io.quarkiverse.openapi.generator.deployment.codegen package to inputExtenions

4 participants