Skip to content

Commit 11b92f8

Browse files
committed
remove 132 rule
1 parent b290a67 commit 11b92f8

File tree

5 files changed

+1
-157
lines changed

5 files changed

+1
-157
lines changed

docs/rules/0132/http-uri-parent.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

rules/aep0132/aep0132.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ func AddRules(r lint.RuleRegistry) error {
2525
132,
2626
httpBody,
2727
httpMethod,
28-
httpURIParent,
2928
methodSignature,
3029
requestFieldTypes,
3130
requestMessageName,

rules/aep0132/http_uri_parent.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

rules/aep0132/http_uri_parent_test.go

Lines changed: 0 additions & 60 deletions
This file was deleted.

rules/internal/utils/common_lints.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ func LintMethodHasMatchingResponseName(m *desc.MethodDescriptor) []lint.Problem
194194

195195
// LintHTTPURIHasParentVariable returns a problem if any of the given method's HTTP rules do not
196196
// have a parent variable in the URI.
197+
// This is only required if the resource is not top-level.
197198
func LintHTTPURIHasParentVariable(m *desc.MethodDescriptor) []lint.Problem {
198199
return LintHTTPURIHasVariable(m, "parent")
199200
}

0 commit comments

Comments
 (0)