From 148e7a71cc06edeaf3feab85f4de58d6627070c7 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 27 May 2024 20:50:56 +0000 Subject: [PATCH] fix: comments - add maxlength constraint in json schema --- packages/nocodb/src/schema/swagger-v2.json | 6 ++++-- packages/nocodb/src/schema/swagger.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/nocodb/src/schema/swagger-v2.json b/packages/nocodb/src/schema/swagger-v2.json index 2385784e61..fe4efa4652 100644 --- a/packages/nocodb/src/schema/swagger-v2.json +++ b/packages/nocodb/src/schema/swagger-v2.json @@ -12897,7 +12897,8 @@ "comment": { "type": "string", "description": "Description for the target row", - "example": "This is the comment for the row" + "example": "This is the comment for the row", + "maxLength": 3000 }, "fk_model_id": { "type": "string", @@ -12935,7 +12936,8 @@ "comment": { "type": "string", "description": "Description for the target row", - "example": "This is the comment for the row" + "example": "This is the comment for the row", + "maxLength": 3000 }, "fk_model_id": { "type": "string", diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 3a61d497c7..81291c1d20 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -18927,7 +18927,8 @@ "comment": { "type": "string", "description": "Description for the target row", - "example": "This is the comment for the row" + "example": "This is the comment for the row", + "maxLength": 3000 }, "fk_model_id": { "type": "string", @@ -18965,7 +18966,8 @@ "comment": { "type": "string", "description": "Description for the target row", - "example": "This is the comment for the row" + "example": "This is the comment for the row", + "maxLength": 3000 }, "fk_model_id": { "type": "string",