Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport: #1170

Note: CI is not automatically triggered on backported PRs, please comment 'ok to test' to launch Jenkins jobs

This PR fixes #1161

When using both additional-request-args and use-dynamic-url=true, the generated REST client method was missing a comma between the parameters, causing a compilation error.

This update to the api.qute template ensures that:

  • A comma is correctly added between additionalRequestArgs and @Url
  • No extra commas are introduced
  • Other parameter combinations are unaffected

…1170)

* Fixes an issue where the generated REST client was missing a comma
between `additional-request-args` and `@Url` when both were used,
causing a compilation error.

Updated the `api.qute` template to handle this safely, without affecting
other parameter combinations.

* test: add test to ensure additionalRequestArgs are generated when length > 0

fix: adjust api.qute to correctly handle commas when using additionalRequestArgs and dynamic url

Updated the `api.qute` template to handle this safely, without affecting
other parameter combinations.

* test: add test to ensure additionalRequestArgs are generated when length > 0

fix: adjust api.qute to correctly handle commas when using additionalRequestArgs and dynamic url

Updated the `api.qute` template to handle this safely, without affecting
other parameter combinations.
@github-actions github-actions bot requested a review from a team as a code owner June 10, 2025 15:53
@ricardozanini ricardozanini reopened this Jun 10, 2025
@github-actions
Copy link
Contributor Author

🎊 PR Preview 75994db has been successfully built and deployed. See the documentation preview: https://quarkus-openapi-generator-preview-pr-1178.surge.sh

@ricardozanini ricardozanini merged commit 9ceda34 into main-lts Jun 10, 2025
13 checks passed
@ricardozanini ricardozanini deleted the main-lts_fix/missing-comma-dynamic-url-args- branch June 10, 2025 16:36
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.

3 participants