-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoverage.json
More file actions
90 lines (90 loc) · 3.19 KB
/
coverage.json
File metadata and controls
90 lines (90 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"schema_version": 1,
"generated_at": "2026-05-11T12:34:56+00:00",
"tool": {
"name": "studio-design/openapi-contract-testing",
"version": "dev-main"
},
"aggregate": {
"endpoint_total": 2,
"endpoint_fully_covered": 1,
"endpoint_partial": 1,
"endpoint_uncovered": 0,
"endpoint_request_only": 0,
"response_total": 3,
"response_covered": 2,
"response_skipped": 0,
"response_uncovered": 1
},
"specs": {
"petstore": {
"aggregates": {
"endpoint_total": 2,
"endpoint_fully_covered": 1,
"endpoint_partial": 1,
"endpoint_uncovered": 0,
"endpoint_request_only": 0,
"response_total": 3,
"response_covered": 2,
"response_skipped": 0,
"response_uncovered": 1
},
"endpoints": [
{
"endpoint": "GET /v1/pets",
"method": "GET",
"path": "/v1/pets",
"operation_id": "listPets",
"endpoint_state": "all-covered",
"request_reached": true,
"responses": [
{
"status_key": "200",
"content_type_key": "application/json",
"response_state": "validated",
"hits": 12,
"skip_reason": null
}
],
"covered_response_count": 1,
"skipped_response_count": 0,
"total_response_count": 1,
"unexpected_observations": []
},
{
"endpoint": "POST /v1/pets",
"method": "POST",
"path": "/v1/pets",
"operation_id": "createPet",
"endpoint_state": "partial",
"request_reached": true,
"responses": [
{
"status_key": "201",
"content_type_key": "application/json",
"response_state": "validated",
"hits": 3,
"skip_reason": null
},
{
"status_key": "422",
"content_type_key": "application/problem+json",
"response_state": "uncovered",
"hits": 0,
"skip_reason": null
}
],
"covered_response_count": 1,
"skipped_response_count": 0,
"total_response_count": 2,
"unexpected_observations": [
{
"status_key": "418",
"content_type_key": "application/json"
}
]
}
]
}
}
}