feat: исправила JSON-поля, пагинации и отчёт
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user