From 1406f2ff03917a52dc348e966ded1bf70531d33b Mon Sep 17 00:00:00 2001 From: Terry Barillon <97261063+Many0nne@users.noreply.github.com> Date: Tue, 3 Mar 2026 22:11:45 +0100 Subject: [PATCH] update readME --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2a4e05..367620d 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ All endpoints are documented with examples and you can test them directly from y --- -## 🎯 Field Constraints with JSDoc Annotations +## Field Constraints with JSDoc Annotations Add validation constraints to your interfaces using JSDoc annotations. This ensures generated mock data follows your API rules. @@ -159,7 +159,7 @@ export interface User { /** @minLength 3 @maxLength 20 */ username: string; - /** @pattern ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ */ + // not needed, email is one of the types handled by intermock email: string; /** @min 18 @max 120 */