title: Apply Pipe to all Variable Occurrences in Controller
body: <p>I have a controller that has multiple requests (POST, GET etc.).
  For all of them, in the path I have an id parameter. I want to validate that the parameter is a number string but I want to do it once and to have it apply to all.</p>
  
  <p>Currently this is the code I have: </p>
  
  <pre><code>  @Get(':account_id')
    @ApiOperation({
      description: 'Get account information',
      operationId: 'getAccount',
      title: 'Get account information',
    })
    @ApiOkResponse({ type: AccountDto })
    @ApiUnauthorizedResponse({ type: ApiErrorDto })
    @ApiForbiddenResponse({ type: ApiErrorDto })
    @ApiNotFoundResponse({ type: ApiErrorDto })
    @ApiBadRequestResponse({ type: ApiErrorDto })
    @ApiImplicitParam({ name: 'account_id', description: 'The account Id' })
    async findOne(@Param('account_id', new ParseIntPipe()) accountId: string): Promise&lt;AccountDto&gt; {
      return await this.accountService.findOne(accountId);
    }
  </code></pre>
  
  <p>Every time I need to call the validation pipe.</p>
  
  <p>Is there a way for me to apply validation to all account_id variables in my controller?</p>