Skip to content

Commit

Permalink
top level is request body only
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenharrison committed Sep 7, 2024
1 parent d2de625 commit 6f0de06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions checker/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ func getHierarchyMessage(hierarchy []string) string {
}

func isTopLevel(s string) bool {
return s == "request body" ||
s == "paths"
return s == "request body"
}

func isAtttibuted(s string) bool {
Expand Down

0 comments on commit 6f0de06

Please sign in to comment.