diff --git a/site/docs/extensions/validate.md b/site/docs/extensions/validate.md index 2dc3caac6bdb..5fa32e7c92dc 100644 --- a/site/docs/extensions/validate.md +++ b/site/docs/extensions/validate.md @@ -228,7 +228,7 @@ import { UserDTO } from './dto/user'; @Controller('/api/user') export class HomeController { - @get('/') + @Get('/') async getUser(@Valid(RuleType.number().required()) @Query('id') id: number) { // ... }