-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
Milestone
Description
I have a controller with a mapping like this
@RequestMapping("/{tenantId}/{*categoryPath}")
public class PageByPathController {
private final PageRepository pageRepository;
private final PageResourceAssembler pageResourceAssembler;
@GetMapping
public Mono<String> getItem(@PathVariable UUID tenantId,
@PathVariable String categoryPath,
@RequestHeader(value = "Accept-Language", required = false) String language) {When I try to create the links for this method, I tried to use something like this:
linkTo(methodOn(PageByPathController.class).getItem(entity.getTenantId(), entity.getPath(),null))The resulting URLs path is then /2ffa5e8b-c141-4656-9dee-24d18a4f8ff0/{*categoryPath} So the categoryPath is not expanded.