feat: исправила JSON-поля, пагинации и отчёт

This commit is contained in:
2026-10-29 12:58:37 +03:00
parent 59adbebe68
commit 55556f5b1c
30 changed files with 44640 additions and 40186 deletions
+104
View File
@@ -0,0 +1,104 @@
{
"pass": true,
"cases": [
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?limit=1&limit=2",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats?cursor=&cursor=garbage",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor=",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?limit=1&limit=2",
"status": 400
},
{
"method": "GET",
"path": "/api/v1/chats/eade0647-1628-4f1c-91d0-7749f2edd10b/messages?cursor=&cursor=garbage",
"status": 400
},
{
"method": "POST",
"path": "/api/v1/chats",
"status": 400
}
],
"exact_json_field_names": true,
"invalid_body_has_no_message_or_key_side_effect": true,
"empty_and_duplicate_pagination_rejected": true,
"absent_and_boundary_limits_accepted": true
}