Commit d8b3a89
authored
Fixes an issue where the generated REST client was missing a comma (#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.1 parent bab9bbe commit d8b3a89
File tree
2 files changed
+27
-6
lines changed- client/deployment/src
- main/resources/templates/libraries/microprofile
- test/java/io/quarkiverse/openapi/generator/deployment/wrapper
2 files changed
+27
-6
lines changedLines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
636 | 658 | | |
637 | 659 | | |
638 | 660 | | |
| |||
0 commit comments