From a215061d097612c52ed30b49c0dbec84dd7bc52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Lundstr=C3=B6m?= Date: Sat, 30 Nov 2024 20:01:53 +0100 Subject: [PATCH] docs: correct examples in annotations.md --- docs/annotations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/annotations.md b/docs/annotations.md index d872b2d..8e7bd77 100644 --- a/docs/annotations.md +++ b/docs/annotations.md @@ -22,11 +22,11 @@ Examples: interface CustomerDto { /** * @isInt we would kindly ask you to provide a number here - * @minimum minimum age is 18 + * @minimum 18 minimum age is 18 */ age: number; /** - * @minLength 1 at least 1 category is required + * @minItems 1 at least 1 category is required */ tags: string[]; /**