Skip to content

Commit

Permalink
Scripts: Rebuild "ibm-openapi-validator" config
Browse files Browse the repository at this point in the history
`lint-openapi init` was required after updating the dependency in the
last commit.
  • Loading branch information
MaximilianKoestler committed May 27, 2022
1 parent 06be698 commit 30a9e4d
Showing 1 changed file with 4 additions and 77 deletions.
81 changes: 4 additions & 77 deletions .validaterc
Original file line number Diff line number Diff line change
@@ -1,77 +1,10 @@
{
"shared": {
"operations": {
"no_operation_id": "warning",
"operation_id_case_convention": [
"warning",
"lower_snake_case"
],
"no_summary": "warning",
"no_array_responses": "error",
"parameter_order": "warning",
"undefined_tag": "warning",
"unused_tag": "warning",
"operation_id_naming_convention": "warning"
},
"pagination": {
"pagination_style": "warning"
},
"parameters": {
"no_parameter_description": "error",
"param_name_case_convention": [
"error",
"lower_snake_case"
],
"invalid_type_format_pair": "error",
"content_type_parameter": "error",
"accept_type_parameter": "error",
"authorization_parameter": "warning",
"required_param_has_default": "warning"
},
"paths": {
"missing_path_parameter": "error",
"duplicate_path_parameter": "warning",
"snake_case_only": "off",
"paths_case_convention": [
"error",
"lower_snake_case"
]
},
"responses": {
"inline_response_schema": "warning"
},
"security_definitions": {
"unused_security_schemes": "warning",
"unused_security_scopes": "warning"
},
"security": {
"invalid_non_empty_security_array": "error"
},
"operations": {},
"paths": {},
"responses": {},
"schemas": {
"invalid_type_format_pair": "error",
"snake_case_only": "off",
"no_schema_description": "warning",
"no_property_description": "warning",
"description_mentions_json": "warning",
"array_of_arrays": "warning",
"inconsistent_property_type": [
"warning",
[
"code",
"default",
"type",
"value"
]
],
"property_case_convention": [
"error",
"lower_snake_case"
],
"property_case_collision": "error",
"enum_case_convention": [
"warning",
"lower_snake_case"
]
"invalid_type_format_pair": "error"
},
"walker": {
"no_empty_descriptions": "error",
Expand All @@ -89,9 +22,6 @@
}
},
"oas3": {
"operations": {
"no_request_body_name": "warning"
},
"responses": {
"no_success_response_codes": "warning",
"protocol_switching_and_success_code": "error",
Expand All @@ -101,8 +31,5 @@
"schemas": {
"json_or_param_binary_string": "warning"
}
},
"spectral": {
"rules": {}
}
}

0 comments on commit 30a9e4d

Please sign in to comment.