The Typo3 documentation describes @Validate annotations which can be used to validate parameters for a single controller action: