Skip to content

Commit

Permalink
Dropped 4xx rule down to non recommended.
Browse files Browse the repository at this point in the history
Not EVERY operation can define a user error, so it should not blow up specs out of the box.

Signed-off-by: Dave Shanley <dave@quobix.com>
  • Loading branch information
daveshanley committed Jul 17, 2022
1 parent a0e8553 commit 81c92eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rulesets/ruleset_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ func GetOperationErrorResponseRule() *model.Rule {
Description: "Make sure operations return at least one 4xx error response to help with bad requests",
Given: "$.paths",
Resolved: true,
Recommended: true,
Recommended: false,
RuleCategory: model.RuleCategories[model.CategoryOperations],
Type: validation,
Severity: warn,
Expand Down

0 comments on commit 81c92eb

Please sign in to comment.