From eda24c192a0e4edbfd54d4cf55b340061030a6e1 Mon Sep 17 00:00:00 2001 From: Aleksandr Soloshenko Date: Sat, 9 Dec 2023 23:00:04 +0700 Subject: [PATCH] Added: max message length constraint --- docs/api/swagger.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/api/swagger.json b/docs/api/swagger.json index 2d56893..dec2467 100644 --- a/docs/api/swagger.json +++ b/docs/api/swagger.json @@ -179,7 +179,8 @@ }, "message": { "type": "string", - "description": "message text" + "description": "message text", + "maxLength": 65535 }, "phoneNumbers": { "type": "array", @@ -226,6 +227,7 @@ "readOnly": true }, "state": { + "type": "string", "enum": [ "Pending", "Processed", @@ -258,6 +260,7 @@ "example": "+79990001234" }, "state": { + "type": "string", "enum": [ "Pending", "Processed",