-
Notifications
You must be signed in to change notification settings - Fork 21
/
.validaterc
103 lines (103 loc) · 2.67 KB
/
.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"shared": {
"operations": {
"no_operation_id": "error",
"operation_id_case_convention": [
"error",
"lower_camel_case"
],
"no_summary": "error",
"no_array_responses": "error",
"parameter_order": "error",
"unused_tag": "error",
"operation_id_naming_convention": "error"
},
"pagination": {
"pagination_style": "error"
},
"parameters": {
"no_parameter_description": "error",
"param_name_case_convention": [
"warning",
"lower_camel_case"
],
"invalid_type_format_pair": "error",
"content_type_parameter": "error",
"accept_type_parameter": "error",
"authorization_parameter": "error",
"required_param_has_default": "error"
},
"paths": {
"missing_path_parameter": "error",
"duplicate_path_parameter": "error",
"snake_case_only": "off",
"paths_case_convention": [
"error",
"lower_camel_case"
]
},
"responses": {
"inline_response_schema": "error"
},
"security_definitions": {
"unused_security_schemes": "error",
"unused_security_scopes": "error"
},
"security": {
"invalid_non_empty_security_array": "error"
},
"schemas": {
"invalid_type_format_pair": "error",
"snake_case_only": "off",
"no_schema_description": "error",
"no_property_description": "error",
"description_mentions_json": "error",
"array_of_arrays": "error",
"inconsistent_property_type": "error",
"property_case_convention": [
"warning",
"lower_camel_case"
],
"property_case_collision": "error",
"enum_case_convention": [
"error",
"lower_camel_case"
]
},
"walker": {
"no_empty_descriptions": "error",
"has_circular_references": "off",
"$ref_siblings": "error",
"duplicate_sibling_description": "error",
"incorrect_ref_pattern": "error"
}
},
"swagger2": {
"operations": {
"no_consumes_for_put_or_post": "error",
"get_op_has_consumes": "error",
"no_produces": "error"
}
},
"oas3": {
"operations": {
"no_request_body_content": "error",
"no_request_body_name": "error"
},
"parameters": {
"no_in_property": "error",
"invalid_in_property": "error",
"missing_schema_or_content": "error",
"has_schema_and_content": "error"
},
"responses": {
"no_response_codes": "error",
"no_success_response_codes": "error",
"no_response_body": "error",
"ibm_status_code_guidelines": "error"
},
"schemas": {
"json_or_param_binary_string": "error"
}
}
}