Repository navigation
Commit d493124
committed
fix(routes): compose class-level @path for Scala JAX-RS resources
Scala JAX-RS resources declare @path on the class exactly like Java and
Kotlin, but the class-level prefix was only joined with the method path
for those two languages. Include Scala so a method route is emitted as
`<class path>/<method path>` instead of the bare method template.
Adds a Scala probe test covering both an empty and a non-empty method
template.
Signed-off-by: Hubert Tarnacki <hubert.tarnacki@gmail.com>1 parent 452485f commit d493124
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5005 | 5005 | | |
5006 | 5006 | | |
5007 | 5007 | | |
5008 | | - | |
| 5008 | + | |
| 5009 | + | |
5009 | 5010 | | |
5010 | 5011 | | |
5011 | 5012 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
531 | 554 | | |
532 | 555 | | |
533 | 556 | | |
| |||
1680 | 1703 | | |
1681 | 1704 | | |
1682 | 1705 | | |
| 1706 | + | |
1683 | 1707 | | |
1684 | 1708 | | |
1685 | 1709 | | |
| |||
0 commit comments