-
Notifications
You must be signed in to change notification settings - Fork 5
/
.validaterc
35 lines (35 loc) · 834 Bytes
/
.validaterc
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
{
"shared": {
"operations": {},
"paths": {},
"responses": {},
"schemas": {
"invalid_type_format_pair": "error"
},
"walker": {
"no_empty_descriptions": "error",
"has_circular_references": "warning",
"$ref_siblings": "off",
"duplicate_sibling_description": "warning",
"incorrect_ref_pattern": "warning"
}
},
"swagger2": {
"operations": {
"no_consumes_for_put_or_post": "error",
"get_op_has_consumes": "warning",
"no_produces": "warning"
}
},
"oas3": {
"responses": {
"no_success_response_codes": "warning",
"protocol_switching_and_success_code": "error",
"no_response_body": "warning",
"ibm_status_code_guidelines": "warning"
},
"schemas": {
"json_or_param_binary_string": "warning"
}
}
}