forked from alexbrahastoll/oas-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecommerce.json
42 lines (42 loc) · 1.06 KB
/
ecommerce.json
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
{
"version": "oas-db-0.1",
"annotationTarget": "ecommerce.yml",
"violations": [
{
"type": "no_hypermedia_support",
"categories": ["discoverability"],
"offender": "paths./orders",
"location": 10
},
{
"type": "sequential_integer_id",
"categories": ["security"],
"offender": "paths./orders/{order_id}",
"location": 23
},
{
"type": "inappropriate_http_method",
"categories": ["compatibility", "understandability"],
"offender": "paths./orders/{order_id}",
"location": 23
},
{
"type": "sequential_integer_id",
"categories": ["security"],
"offender": "paths./orders/{order_id}/items/{item_id}",
"location": 43
},
{
"type": "deep_path",
"categories": ["understandability", "security"],
"offender": "paths./orders/{order_id}/items/{item_id}",
"location": 43
},
{
"type": "sensitive_info_pqs",
"categories": ["security"],
"offender": "paths./customers/{customer_token}",
"location": 69
}
]
}