I have an endpoint, that receives a UUID as param, and some pagination properties as query params, like page=1&take=10.It is possible to create a single DTO that map both route param and query?
My current code is something like:
@Get(':searchId')
async myMethod(
@Param('searchId') searchId:string
@Query('page') page:string
@Query('take') take:string
){
...
}
